This commit is contained in:
@@ -15,9 +15,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy base64 encoded SSH key to file to a temp file
|
- name: Copy base64 encoded SSH key to file to a temp file
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.ANSIBLE_SSH_KEY }}" | base64 --decode > /tmp/id_rsa
|
echo "${{ secrets.ANSIBLE_SSH_KEY }}" | /tmp/id_rsa.b64
|
||||||
chmod 600 /tmp/id_rsa
|
|
||||||
|
|
||||||
- name: cat the SSH key
|
- name: cat the SSH key
|
||||||
run: |
|
run: |
|
||||||
cat /tmp/id_rsa
|
cat /tmp/id_rsa.b64
|
||||||
Reference in New Issue
Block a user