Skip to content

Commit 32e5216

Browse files
committed
fix: Fix conditionals, remove deprecated runs
1 parent d127d4d commit 32e5216

3 files changed

Lines changed: 3 additions & 134 deletions

File tree

.github/workflows/deploy-production.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jobs:
8787
# Deploy to App Engine using pre-built Docker image from GitHub Container Registry
8888
deploy:
8989
runs-on: ubuntu-latest
90+
if: |
91+
(github.repository == 'PolicyEngine/policyengine-household-api')
92+
&& (github.event.head_commit.message == 'Update PolicyEngine Household API')
9093
needs: [lint-and-test, build-docker]
9194
steps:
9295
- name: Checkout code
@@ -128,16 +131,3 @@ jobs:
128131
env:
129132
SERVICE_NAME: ${{ env.SERVICE_NAME }}
130133
run: .github/scripts/verify-deployment.sh
131-
132-
# Post-deployment verification
133-
verify:
134-
runs-on: ubuntu-latest
135-
needs: deploy
136-
steps:
137-
- name: Wait for deployment to stabilize
138-
run: sleep 60
139-
140-
- name: Check application health
141-
run: |
142-
APP_URL=$(gcloud app describe --format="value(defaultHostname)")
143-
curl -f "https://$APP_URL/liveness_check" || exit 1

.github/workflows/docker_deprecated.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/push.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)