To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 87ab785b authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix issue with deploy script

parent f831253d
stages:
- deploy
deploy:
dev_deploy:
stage: deploy
image: alpine:latest
when: manual
......@@ -10,8 +10,7 @@ deploy:
- mkdir -p ~/.ssh
- eval $(ssh-agent -s)
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-add <(echo "$DEPLOY_PRIVATE_KEY")
- apk install rsync
- echo "$DEPLOY_PRIVATE_KEY" | ssh-add -
script:
- ssh -p22 amivadmin@amiv-zoidberg.ethz.ch "docker build -t admintools ./amiv-containers/admintools/"
- ssh -p22 amivadmin@amiv-zoidberg.ethz.ch "cd ./amiv-containers/ && docker-compose up -d"
......
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