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

This commit is contained in:
Orion Kindel 2023-07-18 22:13:08 -05:00
parent 508c1c2693
commit 111338a172
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -14,7 +14,7 @@ else
port=5432 port=5432
fi fi
docker compose down "$base_or_head" &>/dev/null docker compose down "$base_or_head" 1>/dev/null
url="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:$port" url="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:$port"
@ -30,7 +30,7 @@ initdb() {
} }
if [[ "$rev" = "empty" ]]; then if [[ "$rev" = "empty" ]]; then
docker compose up -d "$base_or_head" &>/dev/null docker compose up -d "$base_or_head" 1>/dev/null
isready isready
initdb initdb
exit 0 exit 0
@ -44,7 +44,7 @@ cp docker-compose.yml "./$base_or_head/docker-compose.yml"
cp .env.schema "./$base_or_head/.env.schema" cp .env.schema "./$base_or_head/.env.schema"
cd "./$base_or_head" cd "./$base_or_head"
docker compose up -d "$base_or_head" &>/dev/null docker compose up -d "$base_or_head" 1>/dev/null
cd "../$base_or_head" cd "../$base_or_head"
isready isready