Fixer un problème d'accès aux variables d'environnement

qui étaient fournies par Gitlab mais mal récupérés par node.
This commit is contained in:
2023-05-13 12:00:55 +02:00
parent afb0e16596
commit 798f6de969
4 changed files with 56 additions and 37 deletions

View File

@@ -19,13 +19,11 @@ variables:
changes:
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
script:
- echo ${ENTRY_FOLDER}/${PACKAGE_NAME}/
- cd src/build_job
- npm install
- npm run start
- cat ../../${ENTRY_FOLDER}/${PACKAGE_NAME}/theme.json
artifacts:
expose_as: "theme-json"
paths:
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/theme.json
when: on_success