Skip to content

Commit 2d1614f

Browse files
authored
Fixed weird commit and merge dev (#708)
* liquibase manual deploy workflow * fixed lint * added cloud run files * fixed credentials typing * added exception * added cloud run config * fixed the image and updated commands * moved liquibase to Dockerfile * added workflow to trigger the schema update * added region param to workflow gcloud calls * added temp dir and cleaned code * amended job name on workflow * added job permissions for google auth * added gcs for cloud build logs * added branch check to restrict to main and dev * added branch check to restrict to main and dev * fixed logical operator for branch check * bumped actions versions and added ID token auth * refactor step ids * reverted to print-identity-token with audiences param
1 parent fa166b6 commit 2d1614f

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

.github/workflows/deploy_schema_updater.yaml

-7
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ jobs:
2323
echo "This workflow should not be triggered with workflow_dispatch on a branch other than main or dev"
2424
exit 1
2525
26-
- id: "branch-check"
27-
name: Fail if branch is not main or dev
28-
if: github.event_name == 'workflow_dispatch' && (github.ref != 'refs/heads/main' || github.ref != 'refs/heads/dev')
29-
run: |
30-
echo "This workflow should not be triggered with workflow_dispatch on a branch other than main or dev"
31-
exit 1
32-
3326
- id: "google-cloud-auth"
3427
name: "Authenticate to Google Cloud"
3528
uses: "google-github-actions/auth@v2"

.github/workflows/trigger_schema_updater.yaml

-7
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424

25-
- id: "branch-check"
26-
name: Fail if branch is not main or dev
27-
if: github.event_name == 'workflow_dispatch' && (github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev')
28-
run: |
29-
echo "This workflow should not be triggered with workflow_dispatch on a branch other than main or dev"
30-
exit 1
31-
3225
- id: "branch-check"
3326
name: Fail if branch is not main or dev
3427
if: github.event_name == 'workflow_dispatch' && (github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev')

0 commit comments

Comments
 (0)