From 88b3a05bd784ca4c01e76e9046d6a6ba117480fb Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Thu, 30 May 2024 23:34:18 +0200 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c9560582..48d8bf14 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,23 +32,15 @@ jobs: env: NODE_ENV: production # JS build mode PRODUCTION: true # for environment (ex: robots.txt) + SENTRY_URL: https://sentry.incubateur.net + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: betagouv + SENTRY_PROJECT: temlate-nextjs + SENTRY_RELEASE_UPLOAD: true run: | yarn build touch out/.nojekyll - - name: Create a Sentry Release - uses: getsentry/action-release@v1.1.6 - env: - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_ORG: betagouv - SENTRY_URL: https://sentry.incubateur.net/ - with: - environment: production - sourcemaps: 'dist/**/*.map' - projects: template-nextjs - version: '${{ github.sha }}' - ignore_missing: true - # deploy build to gh-pages - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.9