mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-10 01:52:04 +05:30
Install sentry-cli only for its deploy step
This commit is contained in:
parent
112f3d57f9
commit
100ba4c897
@ -43,8 +43,6 @@ before_deploy:
|
||||
- tar -zcf ../dist.tar.gz --exclude="*.map" *
|
||||
- zip -rq ../dist.zip * -x "*.map"
|
||||
- cd ..
|
||||
# Install sentry-cli
|
||||
- curl -sL https://sentry.io/get-cli/ | bash
|
||||
|
||||
deploy:
|
||||
- provider: releases
|
||||
@ -66,6 +64,7 @@ deploy:
|
||||
- provider: script
|
||||
skip_cleanup: true
|
||||
script: >
|
||||
curl -sL https://sentry.io/get-cli/ | bash &&
|
||||
sentry-cli releases new -p $SENTRY_PROJECT $VERSION &&
|
||||
sentry-cli releases set-commits --auto $VERSION &&
|
||||
sentry-cli releases deploys $VERSION new -e "Production"
|
||||
|
Loading…
Reference in New Issue
Block a user