Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mryanshenghong committed Nov 10, 2022
1 parent fa3fe16 commit 918a580
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,14 @@ jobs:
run: |
npm install
npm run build
ls
# - name: Create Sentry release
# uses: getsentry/[email protected]
# env:
# SENTRY_AUTH_TOKEN: 4e1ecee376434c46a1e55ab7290d2992da6dfc11ebbf417ea6991bf320bfc703
# SENTRY_ORG: shenghongyan-org
# SENTRY_PROJECT: about-lifte
# with:
# sourcemaps: "./dist"
- name: Install Sentry CLI
run: |
curl -sL https://sentry.io/get-cli/ | bash
export VERSION=$(echo `sentry-cli releases propose-version`)
echo $VERSION
sentry-cli releases new $VERSION
sentry-cli releases files $VERSION upload-sourcemaps ./dist/* --url-prefix='http://blog.yanshenghong.com/'
sentry-cli releases files $VERSION upload-sourcemaps ./dist --url-prefix='http://blog.yanshenghong.com/'
find ./dist -name "*.map" -type f -print -exec rm -rf {} \;
sentry-cli releases finalize $VERSION
Expand Down

0 comments on commit 918a580

Please sign in to comment.