Skip to content

Commit 852cc31

Browse files
committed
Rename workflow
1 parent ecb1dcd commit 852cc31

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy_gcp.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
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 }}'

0 commit comments

Comments
 (0)