File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3131 cache : ' npm'
3232 - run : npm ci
3333 - run : npm run build-prod
34+ env :
35+ CUSTOMER_ID : ' 22222222-2222-2222-2222-222222222222'
3436 - name : Cypress run
3537 uses : cypress-io/github-action@v5
3638 with :
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ LOCALE=$(echo "$LOCALE" || echo "de-DE")
66ADDRESSING=$( echo " $ADDRESSING " || echo " du" )
77CUSTOMER_ID=$( echo " $CUSTOMER_ID " || echo " 00000000-0000-0000-0000-000000000000" )
88
9- echo " /docker-entrypoint.d/60- docker-replace-parameters.sh: Replacing Env-Vars with parameters."
9+ echo " /docker-entrypoint.d/docker-replace-parameters.sh: Replacing Env-Vars with parameters."
1010
1111find /usr/share/nginx/html -type f -exec sed -i " s/@TITLE@/$TITLE /g" {} \;
1212find /usr/share/nginx/html -type f -exec sed -i " s/@LOCALE@/$LOCALE /g" {} \;
1313find /usr/share/nginx/html -type f -exec sed -i " s/@ADDRESSING@/$ADDRESSING /g" {} \;
1414find /usr/share/nginx/html -type f -exec sed -i " s~@API_URL@~$API_URL ~g" {} \;
1515find /usr/share/nginx/html -type f -exec sed -i " s~@CUSTOMER_ID@~$CUSTOMER_ID ~g" {} \;
1616
17- echo " /docker-entrypoint.d/60- docker-replace-parameters.sh: Successfully initailized. Starting up nginx."
17+ echo " /docker-entrypoint.d/docker-replace-parameters.sh: Successfully initailized. Starting up nginx."
Original file line number Diff line number Diff line change 1010 "start-docker" : " docker image build --build-arg APP_FILES=dist -t terminfinder-docker:0.0.0 ." ,
1111 "test" : " npm run prebuild && ng serve --configuration production" ,
1212 "jest" : " ng test" ,
13- "build-prod" : " export PRODUCTION=true CUSTOMER_ID=22222222-2222-2222-2222-222222222222 && npm run prebuild && ng build --configuration production " ,
13+ "build-prod" : " export PRODUCTION=true && npm run prebuild && ng build --configuration production " ,
1414 "build-test" : " export PRODUCTION=true && npm run prebuild && ng build --configuration test" ,
1515 "build-docker-prod" : " export DOCKER=true PRODUCTION=true && npm run prebuild && npm run build-prod" ,
1616 "build-docker-test" : " export DOCKER=true PRODUCTION=false && npm run prebuild && npm run build-test" ,
You can’t perform that action at this time.
0 commit comments