Skip to content

Commit 46e2b4b

Browse files
committed
Fix Sentry workflow
1 parent 0e14192 commit 46e2b4b

1 file changed

Lines changed: 21 additions & 12 deletions

File tree

.github/workflows/sentry.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1-
- uses: actions/checkout@v4
2-
with:
3-
fetch-depth: 0
1+
name: Sentry Release
2+
on:
3+
push:
4+
branches:
5+
- main
46

5-
- name: Create Sentry release
6-
uses: getsentry/action-release@v3
7-
env:
8-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
9-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
10-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
11-
with:
12-
environment: production
13-
sourcemaps: "./build"
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Create Sentry release
15+
uses: getsentry/action-release@v3
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
22+
sourcemaps: "./build"

0 commit comments

Comments
 (0)