From 7eb83a26c716fb856a357404c2512edbd3e1604f Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Tue, 5 Dec 2023 11:30:55 +0100 Subject: [PATCH] Mkdir --- .github/workflows/scp-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scp-deploy.yml b/.github/workflows/scp-deploy.yml index b9181e3a..58008871 100644 --- a/.github/workflows/scp-deploy.yml +++ b/.github/workflows/scp-deploy.yml @@ -27,6 +27,7 @@ jobs: run: | eval $(ssh-agent -s) ssh-add - <<< "${{ secrets.SCP_CERTIFICATE }}" + mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts ssh-keyscan -t rsa ${{ secrets.SCP_HOST }} >> ~/.ssh/known_hosts - name: Deploy enrollment-server.war shell: bash