File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2121 project_id : ' deepgit'
2222 workload_identity_provider : ' projects/417733706772/locations/global/workloadIdentityPools/deployment/providers/github'
2323
24- - id : ' compute-ssh'
24+ - name : ' Deploy'
25+ id : ' compute-ssh'
2526 uses : ' google-github-actions/ssh-compute@v1'
2627 with :
2728 instance_name : ' instance-1'
@@ -31,12 +32,13 @@ jobs:
3132 ssh_private_key : ' ${{ secrets.GCP_SSH_PRIVATE_KEY }}'
3233 script : ${{ github.workspace }}/.github/scripts/deploy_deepgit.sh
3334
34- - id : ' check-deployment-status'
35+ - name : ' Check deployment'
36+ id : ' check-deployment-status'
3537 uses : ' google-github-actions/ssh-compute@v1'
3638 with :
3739 instance_name : ' instance-1'
3840 project_id : ' deepgit'
3941 user : " user"
4042 zone : ' us-central1-f'
4143 ssh_private_key : ' ${{ secrets.GCP_SSH_PRIVATE_KEY }}'
42- command : ' ls /var/www/deepgit-app/${{ github.sha }}'
44+ command : ' sudo ls /var/www/deepgit-app/${{ github.sha }}'
You can’t perform that action at this time.
0 commit comments