Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

ci: update sentry job

AykutSaraca1219c4a80ce
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 46c5ee13..62d6d016 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -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
diff --git a/next.config.js b/next.config.js
index 4ddc1dea..0537f937 100644
--- a/next.config.js
+++ b/next.config.js
@@ -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,
}
);