Commit 8c89328c authored by John Red Medrano's avatar John Red Medrano

deploy-dev

parent 94263885
Pipeline #355 failed with stages
in 56 seconds
...@@ -48,5 +48,5 @@ clean_initial_repo: ...@@ -48,5 +48,5 @@ clean_initial_repo:
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa - echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh -tt centos@13.251.192.208 "cd $root_path/dev/$repo_folder && docker-compose -f docker-compose.yml -p $var_dev_container down" # - ssh -tt centos@13.251.192.208 "cd $root_path/dev/$repo_folder && docker-compose -f docker-compose.yml -p $var_dev_container down"
- ssh -tt centos@13.251.192.208 "sudo rm -rf $root_path/dev" - ssh -tt centos@13.251.192.208 "sudo rm -rf $root_path/dev"
\ No newline at end of file
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