Commit ba41dd73 authored by John Red Medrano's avatar John Red Medrano

deploy-dev

parent 568f2bbb
Pipeline #383 failed
stages:
- initial_repo
- clean_initial_repo
- dev_redeploy
initial_repo:
stage: initial_repo
......@@ -52,4 +53,8 @@ clean_initial_repo:
- echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa
- '[[ -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 "sudo rm -rf $root_path/dev"
\ No newline at end of file
- ssh -tt centos@13.251.192.208 "sudo rm -rf $root_path/dev"
dev_redeploy:
include: redeploy.yml
\ 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