Skip to content

Commit 37a6721

Browse files
authored
Merge pull request #22 from cindytsai/deploy
GitHub Action deploy
2 parents 404802f + 48cc904 commit 37a6721

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy_gcp.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
branches:
55
- 'deploy'
6+
pull_request:
7+
branches:
8+
- 'deploy'
69
workflow_dispatch: # TODO: should be removed when the workflow is stable
710

811
jobs:
@@ -25,6 +28,8 @@ jobs:
2528
uses: 'google-github-actions/ssh-compute@v1'
2629
with:
2730
instance_name: 'instance-1'
31+
project_id: 'deepgit'
32+
user: "user"
2833
zone: 'us-central1-f'
2934
ssh_private_key: '${{ secrets.GCP_SSH_PRIVATE_KEY }}'
3035
command: 'echo Hello world'

0 commit comments

Comments
 (0)