Moved Sentry release notification into main release workflow

no issue
This commit is contained in:
Daniel Lockyer 2020-04-02 08:50:50 +01:00
parent 90012c473a
commit cadba8d9cc
2 changed files with 8 additions and 17 deletions

View File

@ -24,3 +24,11 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: tclindner/sentry-releases-action@v1.0.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ghost-foundation
SENTRY_PROJECT: ghost
with:
tagName: ${{ github.ref }}
environment: general

View File

@ -1,17 +0,0 @@
name: Sentry
on:
release:
types: [published]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: tclindner/sentry-releases-action@v1.0.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ghost-foundation
SENTRY_PROJECT: ghost
with:
tagName: ${{ github.ref }}
environment: general