fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 7s
Some checks failed
gen-migrations / gen-migrations (push) Failing after 7s
This commit is contained in:
parent
bba7d98c36
commit
7613dc8749
@ -12,7 +12,7 @@ jobs:
|
||||
- '/var/run/postgresql:/var/run/postgresql'
|
||||
steps:
|
||||
- uses: 'actions/checkout@v3'
|
||||
with: { fetch-depth: 0, ref: 'main', submodules: 'recursive' }
|
||||
with: { fetch-depth: 0, submodules: 'recursive' }
|
||||
- name: 'git config'
|
||||
run: |
|
||||
git config --global user.email 'noreply@dnim.org'
|
||||
|
@ -24,8 +24,7 @@ if [[ -z "$base" ]] || [[ -z "$head" ]]; then
|
||||
fi
|
||||
|
||||
if [[ ! -f "$migration" ]]; then
|
||||
docker stop base head
|
||||
docker rm base head
|
||||
docker compose down -v
|
||||
./scripts/build.sh base "$base" 1>&2 || (echo "base failed to build" && exit 1)
|
||||
./scripts/build.sh head "$head" 1>&2 || (echo "head failed to build" && exit 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user