From 70b8edf6b6cacf48d8df6c1cba534007ee6ad086 Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 20 Oct 2024 10:18:29 -0400 Subject: [PATCH] add forgejo instance url to known_hosts --- .forgejo/workflows/publish.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 6f2d60e..ac43b58 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -15,6 +15,8 @@ jobs: with: ssh-private-key: ${{ secrets.DEPLOY_KEY }} instance-urls: "www.coastalcommits.com" + - name: Add instance URLs to known_hosts + run: ssh-keyscan -H www.coastalcommits.com >> ~/.ssh/known_hosts - name: Setup Node.js uses: actions/setup-node@v4 with: