ops: debug ssh creation

This commit is contained in:
Hunter Miller 2023-01-31 20:08:38 -06:00
parent 5e4c832201
commit 8218f2deb6

View File

@ -41,9 +41,11 @@ jobs:
# message: 'update glob: ${{ steps.glob.outputs.hash }} [skip actions]'
- name: Setup SSH
run: |
mkdir ~/.ssh
echo "$SSH_SEC_KEY" | base64 -d > ~/.ssh/gcloud-compute-engine
echo "$SSH_PUB_KEY" | base64 -d > ~/.ssh/gcloud-compute-engine.pub
mkdir /home/runner/.ssh
echo "$SSH_SEC_KEY" | base64 -d > /home/runner/.ssh/gcloud-compute-engine
echo "$SSH_PUB_KEY" | base64 -d > /home/runner/.ssh/gcloud-compute-engine.pub
ls /home/runner/.ssh
echo /home/runner/.ssh/gcloud-compute-engine.pub
env:
SSH_SEC_KEY: ${{ secrets.JANEWAY_SSH_SEC_KEY }}
SSH_PUB_KEY: ${{ secrets.JANEWAY_SSH_PUB_KEY }}