Skip to content

Commit

Permalink
Update check-migrations.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
root691 authored Nov 27, 2023
1 parent f80fa13 commit 917ac0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
postgresql:
image: $POSTGRESQL_IMAGE
env:
POSTGRES_DB: $POSTGRESQL_DB
POSTGRES_DB: ${{env.POSTGRESQL_DB}}
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
Expand All @@ -38,4 +38,4 @@ jobs:
uses: actions/[email protected]

- name: Run migrations
run: docker run --rm -v "$(pwd)/$MIGRATIONS_FOLDER":/app --network "host" $LIQUIBASE_IMAGE update --changelog-file=/app/$LIQUIBASE_CHANGELOG_FILE --url=jdbc:postgresql://$DOCKER_LOCALHOST:5432/$POSTGRESQL_DB
run: docker run --rm -v "$(pwd)/${{env.MIGRATIONS_FOLDER}}":/app --network "host" ${{env.LIQUIBASE_IMAGE}} update --changelog-file=/app/${{env.LIQUIBASE_CHANGELOG_FILE}} --url=jdbc:postgresql://${{env.DOCKER_LOCALHOST}}:5432/${{env.POSTGRESQL_DB}}

0 comments on commit 917ac0e

Please sign in to comment.