Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet authored May 30, 2024
1 parent ee5050b commit 88b3a05
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88b3a05

Please sign in to comment.