Fix SSH host key for Woodpecker deploy
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Keith Casko
2026-06-21 17:21:46 +00:00
parent b4d0fee552
commit 7def1c8410
+6 -1
View File
@@ -8,8 +8,13 @@ steps:
volumes:
- /root/lab/bytegeist-portfolio/site:/live-site
- /var/run/docker.sock:/var/run/docker.sock
- /root/.ssh:/root/.ssh
commands:
- apk add --no-cache git
- apk add --no-cache git openssh-client
- mkdir -p /root/.ssh
- ssh-keyscan -p 2222 git.casko.dev >> /root/.ssh/known_hosts
- chmod 700 /root/.ssh
- chmod 600 /root/.ssh/id_ed25519
- cd /live-site
- git pull origin main
- docker restart bytegeist-portfolio