From 52d2afb748a8fc83150c06e594121e777bb6a1fa Mon Sep 17 00:00:00 2001 From: Mate Majoros Date: Fri, 9 Jan 2026 12:03:57 +0200 Subject: [PATCH] missing known hosts related step added --- .github/workflows/remove-site.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/remove-site.yml b/.github/workflows/remove-site.yml index 5b00381e..dae9cd2b 100644 --- a/.github/workflows/remove-site.yml +++ b/.github/workflows/remove-site.yml @@ -79,6 +79,10 @@ jobs: with: ssh-private-key: ${{ secrets.HETZNER_SSH_KEY }} + - name: Add Hetzner server to known hosts + run: | + ssh-keyscan -H ${{ env.HETZNER_HOST }} >> ~/.ssh/known_hosts + - name: Check if deployment exists run: | echo "🔍 Checking if deployment exists on server..."