From d29c1a2db5fd5b1c56556ad24b4477e298a233b2 Mon Sep 17 00:00:00 2001 From: cindytsai Date: Thu, 5 Jun 2025 22:44:29 -0500 Subject: [PATCH] Using script. I'm suspecting the ssh-compute is not working. because if I paste the command and cloud console it needs us to wrap the command between "" to be able to run. --- .github/scripts/deploy_deepgit.sh | 2 ++ .github/workflows/deploy_gcp.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .github/scripts/deploy_deepgit.sh diff --git a/.github/scripts/deploy_deepgit.sh b/.github/scripts/deploy_deepgit.sh new file mode 100644 index 0000000..1c4a9d7 --- /dev/null +++ b/.github/scripts/deploy_deepgit.sh @@ -0,0 +1,2 @@ +echo Hello World +ls -l \ No newline at end of file diff --git a/.github/workflows/deploy_gcp.yml b/.github/workflows/deploy_gcp.yml index a867bce..29282f2 100644 --- a/.github/workflows/deploy_gcp.yml +++ b/.github/workflows/deploy_gcp.yml @@ -32,7 +32,7 @@ jobs: user: "user" zone: 'us-central1-f' ssh_private_key: '${{ secrets.GCP_SSH_PRIVATE_KEY }}' - command: 'echo Hello world' + script: ${{ github.workspace }}/.github/scripts/deploy_deepgit.sh - id: 'test' run: |-