Explicitly test ssh
This commit is contained in:
parent
ba77e7540c
commit
b5ae149716
|
@ -27,6 +27,7 @@ pages:
|
|||
- ssh-keyscan -H 'mail.devroom.io' >> ~/.ssh/known_hosts
|
||||
- rsync --version
|
||||
- hugo version
|
||||
- ssh -q ariejan@mail.devroom.io exit; echo $?
|
||||
|
||||
script:
|
||||
# Compile
|
||||
|
@ -44,7 +45,7 @@ pages:
|
|||
|
||||
# Deploy
|
||||
- cd "$CI_PROJECT_DIR"
|
||||
- rsync -az4 -e 'ssh -i ~/.ssh/id_rsa' --stats --delete-after public/* ariejan@mail.devroom.io:/home/ariejan/www/devroom.io/
|
||||
- rsync -az4 -e 'ssh -i ~/.ssh/id_rsa -l ariejan' --stats --delete-after public/* mail.devroom.io:/home/ariejan/www/devroom.io/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
Loading…
Reference in New Issue
Block a user