Rsync recursive

This commit is contained in:
Stu Sherwin 2018-08-21 18:51:21 +01:00
parent 442d758cb4
commit 1f3ada29d7

View File

@ -13,7 +13,7 @@ deploy:
script: script:
- jekyll build -d public - jekyll build -d public
- ssh-add <(echo "$SSH_PRIVATE_KEY") - ssh-add <(echo "$SSH_PRIVATE_KEY")
- rsync -vz --delete -e 'ssh -o StrictHostKeyChecking=no' ./public/ "$SERVER_USER"@autonomic.zone:/var/www/autonomic.zone/html/ - rsync -rvz --delete -e 'ssh -o StrictHostKeyChecking=no' ./public/ "$SERVER_USER"@autonomic.zone:/var/www/autonomic.zone/html/
artifacts: artifacts:
paths: paths:
- public - public