Update .gitlab-ci.yml

This commit is contained in:
Dorian Zedler 2021-07-11 07:32:40 +00:00
parent 1964905c82
commit 1f961df3a8

View file

@ -8,6 +8,6 @@ deploy_production:
- apt update - apt update
- apt install -y openssh-client - apt install -y openssh-client
- chmod 700 $DEPLOYMENT_SSH_KEY - chmod 700 $DEPLOYMENT_SSH_KEY
- scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i $DEPLOYMENT_SSH_KEY -rp . root@10.10.0.1:/opt/lamp/www/timer.itsblue.de - rsync -avz -e "ssh -i $DEPLOYMENT_SSH_KEY -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" ./ root@10.10.0.1:/opt/lamp/www/timer.itsblue.de
only: only:
- master - master