Update .gitlab-ci.yml

This commit is contained in:
Dorian Zedler 2021-07-11 07:33:28 +00:00
parent 1f961df3a8
commit 70413086fc

View file

@ -6,7 +6,7 @@ deploy_production:
url: timer.itsblue.de url: timer.itsblue.de
script: script:
- apt update - apt update
- apt install -y openssh-client - apt install -y openssh-client rsync
- chmod 700 $DEPLOYMENT_SSH_KEY - chmod 700 $DEPLOYMENT_SSH_KEY
- 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 - 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: