Disable strict host key checking

This commit is contained in:
Stu Sherwin 2018-08-21 18:26:50 +01:00
parent 9ed30e8717
commit eec8b982eb

View File

@ -9,10 +9,9 @@ deploy:
- apt-get update -y - apt-get update -y
- apt-get -y install rsync - apt-get -y install rsync
- gem install jekyll - gem install jekyll
- ssh-keyscan -t rsa autonomic.zone >> ~/.ssh/known_hosts
script: script:
- jekyll build -d public - jekyll build -d public
- rsync -avz --delete --no-group ./dist/ $SERVER_USER@autonomic.zone:/var/www/autonomic.zone/html/ - rsync -avz --delete --no-group -e 'ssh -o StrictHostKeyChecking=no' ./dist/ $SERVER_USER@autonomic.zone:/var/www/autonomic.zone/html/
artifacts: artifacts:
paths: paths:
- public - public