fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 7s

This commit is contained in:
Orion Kindel 2023-07-20 00:33:46 -05:00
parent bba7d98c36
commit 7613dc8749
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719
2 changed files with 2 additions and 3 deletions

View File

@ -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'

View File

@ -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)