From 5ff100c6a6e52d0221bc2d3889d2415946144340 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Mon, 4 Sep 2023 20:14:04 +0100 Subject: [PATCH] fix github workflow --- .github/workflows/infra.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index f003e48..ad3ec34 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -63,8 +63,7 @@ jobs: - name: Setup environment if: env.DEPLOY != 'none' && steps.playbooks.outputs.to_run != '' run: | - mkdir ~/.ssh - chmod 700 ~/.ssh + mkdir -p -m 700 ~/.ssh echo "${{ secrets.SSH_PRIVATE }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa