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
|
- ssh-keyscan -H 'mail.devroom.io' >> ~/.ssh/known_hosts
|
||||||
- rsync --version
|
- rsync --version
|
||||||
- hugo version
|
- hugo version
|
||||||
|
- ssh -q ariejan@mail.devroom.io exit; echo $?
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Compile
|
# Compile
|
||||||
|
@ -44,7 +45,7 @@ pages:
|
||||||
|
|
||||||
# Deploy
|
# Deploy
|
||||||
- cd "$CI_PROJECT_DIR"
|
- 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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
Loading…
Reference in New Issue
Block a user