-
Notifications
You must be signed in to change notification settings - Fork 20
39 lines (35 loc) · 1.04 KB
/
deploy-recette.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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