From 4ec0e4098f5fd09946ea245c76359350d30f5e86 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 7 Mar 2024 14:26:07 +0000 Subject: [PATCH] Known hosts --- .gitea/workflows/build-and-copy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index 4fad7fa..01ed37e 100644 --- a/.gitea/workflows/build-and-copy.yaml +++ b/.gitea/workflows/build-and-copy.yaml @@ -23,5 +23,6 @@ jobs: uses: shimataro/ssh-key-action@v2 with: key: ${{ secrets.SSH_KEY }} + known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} - name: Copy _site to prod run: scp -rp _site/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html \ No newline at end of file