Skip to content

Commit

Permalink
feat: add on release published action
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoAlgorithm authored Aug 27, 2022
1 parent 74379e1 commit 85d8862
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Post-release

on:
release:
types: [published]
# Can be manually dispatched too
workflow_dispatch:

jobs:
postrelease:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production

0 comments on commit 85d8862

Please sign in to comment.