From ed8b2e6e4774490e612a0631d3588ba0ead6eb40 Mon Sep 17 00:00:00 2001 From: Cameron Hyde <42562517+neoformit@users.noreply.github.com> Date: Wed, 2 Aug 2023 17:00:06 +1000 Subject: [PATCH] Update manual.yml --- .github/workflows/manual.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index d3c99b44..6602f5cf 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -15,8 +15,8 @@ jobs: # check this thread to understand why its needed: # https://stackoverflow.com/a/70447517 run: | + install -m 600 -D /dev/null ~/.ssh/id_rsa echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa - chmod 400 ~/.ssh/id_rsa ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts - name: connect and pull run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "./update.sh && exit"