CI: Refactor ssh options

This commit is contained in:
Ariejan de Vroom 2015-12-10 10:11:47 +01:00
parent 44f9603070
commit 6914d2b17c

View File

@ -18,4 +18,7 @@ job:
- golang - golang
script: script:
- hugo - hugo
- rsync -avczmh4 --progress --stats --delete-after public/* -e 'ssh -o UserKnownHostsFile=/dev/null,StrictHostKeyChecking=no ariejan@mail.devroom.io:/home/ariejan/www/ariejan.net' - ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ariejan@mail.devroom.io 'uptime'
- ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ariejan@mail.devroom.io 'uname -a'
- ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ariejan@mail.devroom.io 'hostname -f'
- rsync -avczmh4 --progress --stats --delete-after public/* -e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ariejan@mail.devroom.io:/home/ariejan/www/ariejan.net'