diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index bc056a61..2f5d3db5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -2,6 +2,9 @@ name: CI on: push: + branches: + - main + - gcloud env: PROJECT_ID: zealous-zebra @@ -71,16 +74,11 @@ jobs: # Deploy managed instance group using the new instance template - name: Deploy managed instance group - # Assumes the 'zebrad-tracing-filter' healthcheck to hit - # :3000/filter exists, which requires the - # 'allow-tracing-health-check' firewall rule to allow Google - # 'spotter' IPs to hit that port be added to the network - # attached to the instance template (usually it's 'default'). run: | gcloud compute instance-groups managed create \ "zebrad-$SHORT_BRANCH_NAME-$SHA7" \ --template "zebrad-$SHORT_BRANCH_NAME-$SHA7" \ --health-check zebrad-tracing-filter \ - --initial-delay 60 \ + --initial-delay 30 \ --region us-central1 \ --size 2