Skip to content

Commit d29c1a2

Browse files
committed
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.
1 parent 48cc904 commit d29c1a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/scripts/deploy_deepgit.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo Hello World
2+
ls -l

.github/workflows/deploy_gcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
user: "user"
3333
zone: 'us-central1-f'
3434
ssh_private_key: '${{ secrets.GCP_SSH_PRIVATE_KEY }}'
35-
command: 'echo Hello world'
35+
script: ${{ github.workspace }}/.github/scripts/deploy_deepgit.sh
3636

3737
- id: 'test'
3838
run: |-

0 commit comments

Comments
 (0)