diff --git a/.gitea/workflows/runbook.yml b/.gitea/workflows/runbook.yml index babaf94..0968700 100644 --- a/.gitea/workflows/runbook.yml +++ b/.gitea/workflows/runbook.yml @@ -19,4 +19,13 @@ jobs: - name: cat the base64 SSH key run: | - cat /tmp/id_rsa.b64 \ No newline at end of file + cat /tmp/id_rsa.b64 + + - name: Decode SSH key and save to file + run: | + base64 -d /tmp/id_rsa.b64 > /tmp/id_rsa + chmod 600 /tmp/id_rsa + + - name: print the SSH key + run: | + cat /tmp/id_rsa \ No newline at end of file