Commit b6db6fc2 authored by Thomas Fragner's avatar Thomas Fragner
Browse files

Resolve "Issue Test"

parent 2c6130fa
......@@ -65,7 +65,7 @@ review:
- ssh-keyscan -p 2122 deploy.ce.jku.at > ~/.ssh/known_hosts
script:
- ssh -p 2122 deploy@deploy.ce.jku.at "mkdir -p /home/deploy/data/deploy/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_COMMIT_REF_NAME"
- rsync -av -e "ssh -p 2122" --delete public "deploy@deploy.ce.jku.at:~/data/deploy/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_COMMIT_REF_NAME/"
- rsync -av -e "ssh -p 2122" --delete public/* "deploy@deploy.ce.jku.at:/home/deploy/data/deploy/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_COMMIT_REF_NAME/"
environment:
name: review/$CI_BUILD_REF_NAME
url: http://deploy.ce.jku.at/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_COMMIT_REF_NAME
......@@ -85,7 +85,7 @@ stop_review:
- chmod 700 ~/.ssh
- ssh-keyscan -p 2122 deploy.ce.jku.at > ~/.ssh/known_hosts
script:
- ssh -p 2122 deploy@deploy.ce.jku.at "rm -rf ~/data/deploy/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_COMMIT_REF_NAME"
- ssh -p 2122 deploy@deploy.ce.jku.at "rm -rf /home/deploy/data/deploy/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_COMMIT_REF_NAME"
variables:
GIT_STRATEGY: none
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