Skip to content

Commit 640b4a4

Browse files
committed
chore: sentry release workflow
1 parent 616e321 commit 640b4a4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Sentry Release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
9+
permissions: # added using https://github.com/step-security/secure-workflows
10+
contents: read
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
environment: Master
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Create Sentry release
20+
uses: getsentry/action-release@v1.2.1
21+
env:
22+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
23+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
24+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
25+
with:
26+
environment: production
27+
sourcemaps: ./web/dist
28+

0 commit comments

Comments
 (0)