Testing CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2022-11-10 08:19:25 -05:00
parent c5be2a81e3
commit cf5cf2bb30
2 changed files with 3 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ pipeline:
image: jbrechtel/zola:latest image: jbrechtel/zola:latest
commands: commands:
- "zola build" - "zola build"
deploy: deploy:
image: jbrechtel/rsync:latest image: jbrechtel/rsync:latest
commands: commands:

View File

@@ -3,6 +3,8 @@
mkdir -p $HOME/.ssh mkdir -p $HOME/.ssh
ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
chown -R $USER .
sshpass -p "$DEPLOY_PASSWORD" \ sshpass -p "$DEPLOY_PASSWORD" \
rsync -avzr \ rsync -avzr \
-e 'ssh -o "StrictHostKeyChecking no"' \ -e 'ssh -o "StrictHostKeyChecking no"' \