From 5e39afbf77b82c0dbf6c387d56923fcbdbb97ee6 Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Tue, 18 Jul 2023 22:35:46 -0500 Subject: [PATCH] fix: gen-migrations workflow --- scripts/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 2868216..3bd9dcc 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -23,6 +23,8 @@ isready() { local waited=0 until pg_isready -p "$port" 1>/dev/null; do if [[ "$waited" = "10" ]]; then + pwd + cat docker-compose.yml docker compose logs base exit 1 fi @@ -55,7 +57,6 @@ cp .env.schema "./$base_or_head/.env.schema" cd "./$base_or_head" docker compose up -d "$base_or_head" 1>/dev/null -cd "../$base_or_head" isready initdb