Skip to content

Commit 543496e

Browse files
authored
fixed workflows and use new branch (#709)
1 parent 2d1614f commit 543496e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/deploy_schema_updater.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
build-image:
1212
runs-on: ubuntu-latest
1313

14-
if: github.ref == 'refs/heads/main'
15-
1614
steps:
1715
- uses: actions/checkout@v4
1816

.github/workflows/trigger_schema_updater.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
- id: "invoke-cloud-run"
4444
name: "Invoke Cloud Run"
4545
run: |
46-
CLOUD_RUN_URL=$(gcloud run services describe schema-updater --region australia-southeast1 --format 'value(status.url)')/execute-liquibase?environment=${{ github.event.inputs.environment }}"
46+
CLOUD_RUN_URL=$(gcloud run services describe schema-updater --region australia-southeast1 --format 'value(status.url)')/execute-liquibase?environment=${{ github.event.inputs.environment }}
4747
TOKEN=$(gcloud auth print-identity-token --impersonate-service-account="[email protected]" --audiences="$CLOUD_RUN_URL" --include-email)
4848
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/xml" --data-binary "@db/project.xml" $CLOUD_RUN_URL

0 commit comments

Comments
 (0)