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