From 27aef82377de9248bc2a7d915f4941a3ea55cda1 Mon Sep 17 00:00:00 2001 From: Aarsh2001 Date: Wed, 4 Oct 2023 20:16:58 +0100 Subject: [PATCH] gcp auth --- .github/workflows/gcp-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gcp-test.yaml b/.github/workflows/gcp-test.yaml index b513a4e8..509f6863 100644 --- a/.github/workflows/gcp-test.yaml +++ b/.github/workflows/gcp-test.yaml @@ -29,8 +29,8 @@ jobs: cd demos/.github/auth mkdir -p ~/.ssh touch ~/.ssh/id_rsa - echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa + echo "${{ secrets.SSH_KEY }}" > $HOME/.ssh/id_rsa + chmod 600 $HOME/.ssh/id_rsa python3 db_auth.py ${{ secrets.DB_ENDPOINT }} ${{ secrets.DB_OBJ_ID }} python3 vm_auth.py ${{ secrets.SSH_USERNAME }}