mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
ci: update sentry job
This commit is contained in:
parent
c6b2100993
commit
358924d1f8
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -90,6 +90,8 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: List files in workflow
|
||||||
|
run: ls -R ./
|
||||||
- name: Install Sentry CLI
|
- name: Install Sentry CLI
|
||||||
run: curl -sL https://sentry.io/get-cli/ | bash
|
run: curl -sL https://sentry.io/get-cli/ | bash
|
||||||
- name: Create Sentry release
|
- name: Create Sentry release
|
||||||
@ -98,7 +100,7 @@ jobs:
|
|||||||
VERSION=$(sentry-cli releases propose-version)
|
VERSION=$(sentry-cli releases propose-version)
|
||||||
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
|
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
- name: Upload sourcemaps to Sentry
|
- name: Upload sourcemaps to Sentry
|
||||||
run: sentry-cli releases files "$RELEASE_VERSION" upload-sourcemaps --ext map --ext js --url-prefix '~/static' './out/_next/static/'
|
run: sentry-cli releases files "$RELEASE_VERSION" upload-sourcemaps --ext map --ext js --url-prefix '~/static' './_next/static/'
|
||||||
- name: Set commits for Sentry release
|
- name: Set commits for Sentry release
|
||||||
run: sentry-cli releases set-commits "$RELEASE_VERSION" --auto
|
run: sentry-cli releases set-commits "$RELEASE_VERSION" --auto
|
||||||
- name: Deploy to Sentry
|
- name: Deploy to Sentry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user