Skip to content
Snippets Groups Projects
Commit 6e4dd35a authored by Mathias Goebel's avatar Mathias Goebel :reminder_ribbon:
Browse files

ci: refine target paths

parent e70a9cd1
Branches
Tags
1 merge request!36Release
Pipeline #215410 passed
...@@ -115,7 +115,7 @@ deploy-dev: ...@@ -115,7 +115,7 @@ deploy-dev:
# remove the old version from dev and test # remove the old version from dev and test
- ssh -o 'StrictHostKeyChecking no' $SSH_USER@$SSH_IP "rm -rf ~/$CI_COMMIT_REF_NAME/frontend/website/*" - ssh -o 'StrictHostKeyChecking no' $SSH_USER@$SSH_IP "rm -rf ~/$CI_COMMIT_REF_NAME/frontend/website/*"
- ssh -o 'StrictHostKeyChecking no' $SSH_USER@$SSH_IP "rm -rf ~/test/frontend/website/*" - ssh -o 'StrictHostKeyChecking no' $SSH_USER@$SSH_IP "rm -rf ~/test/frontend/website/*"
- scp -o 'StrictHostKeyChecking no' -r public/* $SSH_USER@$SSH_IP:~/$CI_COMMIT_REF_NAME/frontend/website/ - scp -o 'StrictHostKeyChecking no' -r public/$CI_COMMIT_REF_NAME/* $SSH_USER@$SSH_IP:~/$CI_COMMIT_REF_NAME/frontend/website/
- ssh -o 'StrictHostKeyChecking no' $SSH_USER@$SSH_IP "cp -r ~/$CI_COMMIT_REF_NAME/frontend/website/* ~/test/frontend/website/" - ssh -o 'StrictHostKeyChecking no' $SSH_USER@$SSH_IP "cp -r ~/$CI_COMMIT_REF_NAME/frontend/website/* ~/test/frontend/website/"
# this stage creates a new environment for the current branch. # this stage creates a new environment for the current branch.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment