feat(env): add MATRICULE variable to configuration files

This change introduces the MATRICULE variable in the environment configuration
to allow dynamic endpoint generation.
This commit is contained in:
Jérémy Munsch 2026-09-01 17:29:19 +02:00
parent f1c3100ef5
commit df04ab87ac
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4
3 changed files with 7 additions and 3 deletions

View file

@ -0,0 +1 @@
MATRICULE=

View file

@ -1,9 +1,9 @@
# Secrets
.env*
.env
# Dependencies
node_modules
# OS files
.DS_Store
Thumbs.db
Thumbs.db

View file

@ -1,7 +1,7 @@
name: VM Linux
variables:
- name: ENDPOINT
value: https://arcadia-api-MONMATRICULE.s-web.fr
value: https://arcadia-api-{{MATRICULE}}.s-web.fr
description: ""
- name: APIV1
value: v1
@ -21,3 +21,6 @@ variables:
- name: CLIENT_SECRET
value: arcadia_sec_00000000000000000000000000000000000000000000000000000000000000000000000000000000000001
description: API Client Secret for HMAC Authentication
- name: MATRICULE
value: "{{process.env.MATRICULE}}"
description: ""