Merge pull request #2662 from MTES-MCT/fix/dashboard-v2-cards #977
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: Run npm ci | |
run: npm --prefix back ci & npm --prefix front ci | |
- name: Run build | |
run: npm --prefix back run build & npm --prefix front run 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: ./back/dist/src ./front/build/assets | |
projects: trackdechets-api trackdechets-front | |
ignore_missing: true |