Skip to content
Snippets Groups Projects
Commit c0b7a381 authored by michael.minelli's avatar michael.minelli
Browse files

CI/CD => Fix path of the app.ts file

parent a7216e79
No related branches found
No related tags found
1 merge request!2Adds a first version of the wiki documentation
Pipeline #26398 passed
......@@ -70,7 +70,7 @@ variables:
.build_cli:
script:
- cd NodeApp
- cd "${PROJECT_FOLDER}"
# Install dependencies
- npm install
......@@ -170,7 +170,7 @@ build:version:
- |
echo "Replace DOTENV_KEY if we are on a protected branch" # Hide the print of the DOTENV_PROD_KEY
sed -r "s/(DOTENV_KEY[ ]*:[ ]*[\'\"\`])[^'\"\`]*([\'\"\`])/\${DOTENV_PROD_KEY}\2/g" src/app.ts > src/app.ts;
sed -r "s/(DOTENV_KEY[ ]*:[ ]*[\'\"\`])[^'\"\`]*([\'\"\`])/\${DOTENV_PROD_KEY}\2/g" ${PROJECT_FOLDER}/src/app.ts > ${PROJECT_FOLDER}/src/app.ts;
# Build
- !reference [.build_cli, script]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment