mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
ci: update sentry job
This commit is contained in:
parent
ee28174b2d
commit
a1219c4a80
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@ -98,13 +98,13 @@ jobs:
|
||||
VERSION=$(sentry-cli releases propose-version)
|
||||
echo "::set-output name=version::${VERSION}"
|
||||
- name: Upload sourcemaps to Sentry
|
||||
run: sentry-cli releases files ${{ steps.create-release.outputs.stdout }} upload-sourcemaps --ext map --ext js --url-prefix '~/static' './out/_next/static/'
|
||||
run: sentry-cli releases files "$VERSION" upload-sourcemaps --ext map --ext js --url-prefix '~/static' './out/_next/static/'
|
||||
- name: Set commits for Sentry release
|
||||
run: sentry-cli releases set-commits --auto ${{ steps.create-release.outputs.stdout }}
|
||||
run: sentry-cli releases set-commits "$VERSION" --auto
|
||||
- name: Deploy to Sentry
|
||||
run: sentry-cli releases deploys ${{ steps.create-release.outputs.stdout }} new -e ${{ secrets.SENTRY_DEPLOY_ENVIRONMENT }}
|
||||
run: sentry-cli releases deploys "$VERSION" new -e ${{ secrets.SENTRY_DEPLOY_ENVIRONMENT }}
|
||||
- name: Finalize Sentry release
|
||||
run: sentry-cli releases finalize ${{ steps.create-release.outputs.stdout }}
|
||||
run: sentry-cli releases finalize "$VERSION"
|
||||
|
||||
|
||||
# Deployment job
|
||||
|
@ -12,7 +12,13 @@ const config = {
|
||||
};
|
||||
|
||||
module.exports = withSentryConfig(
|
||||
config,
|
||||
{
|
||||
...config,
|
||||
sentry: {
|
||||
widenClientFileUpload: true,
|
||||
disableServerWebpackPlugin: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
silent: true,
|
||||
org: "aykut-sarac",
|
||||
@ -22,5 +28,6 @@ module.exports = withSentryConfig(
|
||||
widenClientFileUpload: true,
|
||||
hideSourceMaps: true,
|
||||
disableLogger: true,
|
||||
disableServerWebpackPlugin: true,
|
||||
}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user