mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Tidied up release GitHub Action
no issue
This commit is contained in:
parent
f60b3f5607
commit
91054d10a0
1 changed files with 4 additions and 8 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -8,6 +8,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG: ghost-foundation
|
||||
SENTRY_PROJECT: ghost
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
FORCE_COLOR: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -18,13 +22,5 @@ jobs:
|
|||
- run: yarn
|
||||
|
||||
- run: grunt release --skip-tests
|
||||
|
||||
- uses: tryghost/action-ghost-release@master
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG: ghost-foundation
|
||||
SENTRY_PROJECT: ghost
|
||||
|
||||
- run: npm publish --registry https://registry.npmjs.org/
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue