Rename dist to public

This commit is contained in:
Stu Sherwin 2018-08-21 18:40:18 +01:00
parent 81a96fbf34
commit cf4f1fbd46

View File

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