fix github workflow
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 1m35s Details

This commit is contained in:
Gleb Koval 2023-09-04 20:14:04 +01:00
parent fead86f60b
commit 5ff100c6a6
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@ jobs:
- name: Setup environment - name: Setup environment
if: env.DEPLOY != 'none' && steps.playbooks.outputs.to_run != '' if: env.DEPLOY != 'none' && steps.playbooks.outputs.to_run != ''
run: | run: |
mkdir ~/.ssh mkdir -p -m 700 ~/.ssh
chmod 700 ~/.ssh
echo "${{ secrets.SSH_PRIVATE }}" > ~/.ssh/id_rsa echo "${{ secrets.SSH_PRIVATE }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa