test cksum
All checks were successful
ci/woodpecker/push/hugo-build Pipeline was successful

This commit is contained in:
Vri 🌈 2023-10-23 16:54:30 +02:00
parent 0169e430c3
commit 2390a11121
Signed by: vrifox
SSH key fingerprint: SHA256:7OLOvW+jmULkXpdl5rUWgid7WJQhOIEgj+4WP/PtCpI

View file

@ -12,6 +12,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/ --mkpath --checksum
secrets: