Skip to content

Commit

Permalink
Fixed weird commit and merge dev (#708)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nevoodoo authored Mar 15, 2024
1 parent fa166b6 commit 2d1614f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/deploy_schema_updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ jobs:
echo "This workflow should not be triggered with workflow_dispatch on a branch other than main or dev"
exit 1
- id: "branch-check"
name: Fail if branch is not main or dev
if: github.event_name == 'workflow_dispatch' && (github.ref != 'refs/heads/main' || github.ref != 'refs/heads/dev')
run: |
echo "This workflow should not be triggered with workflow_dispatch on a branch other than main or dev"
exit 1
- id: "google-cloud-auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v2"
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/trigger_schema_updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- id: "branch-check"
name: Fail if branch is not main or dev
if: github.event_name == 'workflow_dispatch' && (github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev')
run: |
echo "This workflow should not be triggered with workflow_dispatch on a branch other than main or dev"
exit 1
- id: "branch-check"
name: Fail if branch is not main or dev
if: github.event_name == 'workflow_dispatch' && (github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev')
Expand Down

0 comments on commit 2d1614f

Please sign in to comment.