From 7def1c841053cf33fab9d00c953764208f49c784 Mon Sep 17 00:00:00 2001 From: Keith Casko Date: Sun, 21 Jun 2026 17:21:46 +0000 Subject: [PATCH] Fix SSH host key for Woodpecker deploy --- .woodpecker.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 3b4bcec..c0b0d31 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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