Update .gitlab-ci.yml

parent 7568c12d
Pipeline #17200 failed with stages
in 7 seconds
......@@ -8,14 +8,14 @@ stages:
build_job:
stage: build
script:
- cp /home/gitlab-runner/deploy-script.sh .
- ./deploy-script.sh --build
- sudo cp /home/ec2-user/deploy-script.sh .
- sudo ./deploy-script.sh --build
push_job:
stage: test
script:
- cp /home/gitlab-runner/deploy-script.sh .
- ./deploy-script.sh --push
- sudo cp //home/ec2-user/deploy-script.sh .
- sudo ./deploy-script.sh --push
deploy_job:
stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment