From d36c42a9779653067af60d8397225f7f1151b1ee Mon Sep 17 00:00:00 2001 From: "Lucas C. Villa Real" Date: Mon, 1 Jul 2024 15:07:39 -0300 Subject: [PATCH] Update hugo.yml Add Dreamhost to known hosts --- .github/workflows/hugo.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index a86c614..1c55335 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -81,6 +81,9 @@ jobs: with: ssh-private-key: ${{ secrets.DREAMHOST_DEPLOY_KEY }} + - name: Add Dreamhost to known hosts + run: ssh-keyscan ${{ secrets.DREAMHOST_HOST }} >> ~/.ssh/known_hosts + - name: Sync files to Dreamhost env: DREAMHOST_USER: ${{ secrets.DREAMHOST_USER }}