Refactor ci pipeline.

This commit is contained in:
Spencer Ofwiti 2020-12-28 13:56:51 +03:00
parent 5424de5d9a
commit 749fb67eee

View File

@ -110,10 +110,10 @@ build_app:
- docker - docker
script: script:
- ng build --prod - ng build --prod
after_script: # after_script:
- mv $PROJECT_PATH/nginx.conf $PROJECT_PATH/default.conf # - mv $PROJECT_PATH/nginx.conf $PROJECT_PATH/default.conf
- cp $PROJECT_PATH/default.conf $APP_OUTPUT_PATH # - cp $PROJECT_PATH/default.conf $APP_OUTPUT_PATH
- cp $PROJECT_PATH/Dockerfile $APP_OUTPUT_PATH # - cp $PROJECT_PATH/Dockerfile $APP_OUTPUT_PATH
artifacts: artifacts:
name: "cic-staff-client-pipeline" name: "cic-staff-client-pipeline"
expire_in: 1 days expire_in: 1 days