mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
c112863e4b
no issue - this allows us to do announcements when we know everything else is done
23 lines
544 B
YAML
23 lines
544 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
jobs:
|
|
automate:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
FORCE_COLOR: 1
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
submodules: true
|
|
- run: yarn
|
|
- run: grunt release --skip-tests
|
|
- run: npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
|
|
- run: npm publish
|
|
- uses: tryghost/action-ghost-release@master
|