diff --git a/.gitea/workflows/runbook.yml b/.gitea/workflows/runbook.yml index 8ac25c5..94f8bc8 100644 --- a/.gitea/workflows/runbook.yml +++ b/.gitea/workflows/runbook.yml @@ -13,9 +13,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Copy base64 encoded SSH key to file + - name: Copy base64 encoded SSH key to file to a temp file run: | - echo "${{ secrets.ANSIBLE_SSH_KEY }}" | base64 --decode > ansible_key - chmod 600 ansible_key - - name: cat ansible_key - run: cat ansible_key \ No newline at end of file + echo "${{ secrets.ANSIBLE_SSH_KEY }}" | base64 --decode > /tmp/id_rsa + chmod 600 /tmp/id_rsa + + - name: cat the SSH key + run: | + cat /tmp/id_rsa \ No newline at end of file