Update .gitlab-ci.yml

parent eb8422d7
Pipeline #17222 failed with stages
in 3 minutes and 5 seconds
before_script: cache:
paths:
- target
stages: stages:
- build - build
...@@ -14,12 +16,13 @@ build_job: ...@@ -14,12 +16,13 @@ build_job:
push_job: push_job:
stage: test stage: test
script: script:
- sudo cp //home/ec2-user/deploy-script-Dev.sh . - sudo cp /home/ec2-user/deploy-script-Dev.sh .
- sudo ./deploy-script-Dev.sh --push - sudo ./deploy-script-Dev.sh --build --push
deploy_job: deploy_job:
stage: deploy stage: deploy
script: script:
- cd /home/oai/ - sudo cp /home/ec2-user/deploy-script-Dev.sh .
- ./deploy-script.sh --push --deploy - sudo cp /home/ec2-user/app-machine-access.pem .
- ./deploy-script-Dev.sh --deploy
when: manual when: manual
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