Skip to content

Commit 85d8862

Browse files
feat: add on release published action
1 parent 74379e1 commit 85d8862

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/release.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Post-release
2+
3+
on:
4+
release:
5+
types: [published]
6+
# Can be manually dispatched too
7+
workflow_dispatch:
8+
9+
jobs:
10+
postrelease:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Create Sentry release
15+
uses: getsentry/action-release@v1
16+
env:
17+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
18+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
19+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
20+
with:
21+
environment: production

0 commit comments

Comments
 (0)