Compare commits

...

2 commits

Author SHA1 Message Date
b548a19c2f
test cksum
All checks were successful
ci/woodpecker/push/hugo-build Pipeline was successful
2023-10-23 16:55:37 +02:00
2390a11121
test cksum
All checks were successful
ci/woodpecker/push/hugo-build Pipeline was successful
2023-10-23 16:54:30 +02:00

View file

@ -35,6 +35,7 @@ steps:
- mkdir -p /root/.ssh
- echo "$SSH_KEY" > /root/.ssh/id_ed25519
- chmod 700 /root/.ssh/id_ed25519
- cksum /root/.ssh/id_ed25519
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
- rsync -rv --delete -e "ssh -p $SSH_PORT -i /root/.ssh/id_ed25519" /woodpecker/build/ caddy@$SSH_HOST:/var/lib/caddy/woodpecker/vrifox.cc-dev/${CI_COMMIT_BRANCH}/${CI_COMMIT_SHA}/ --mkpath --checksum
- echo "The preview is now available on https://dev.vrifox.cc/${CI_COMMIT_BRANCH}/${CI_COMMIT_SHA}/"