Skip to content

Merge pull request #3602 from MTES-MCT/tra-14423 #1784

Merge pull request #3602 from MTES-MCT/tra-14423

Merge pull request #3602 from MTES-MCT/tra-14423 #1784

# Workflow de déploiement
# Le front et le back ne sont pas inclut dans ce fichier car leur déploiement
# se fait automatiquement via l'intégration Scalingo <> Github
name: Deploy Sentry Release on recette
on:
push:
branches:
- dev
jobs:
sentry-release-recette:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Run npm ci
run: npm ci
- name: Run build
run: npx nx run-many -t build
- name: Create a Sentry Release
uses: getsentry/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: betagouv
SENTRY_URL: https://sentry.incubateur.net/
with:
environment: recette
sourcemaps: ./dist/apps/api ./dist/front/assets
projects: trackdechets-api trackdechets-front
ignore_missing: true