From e72b32da5d60219f4fc135312a073fe72d28c033 Mon Sep 17 00:00:00 2001 From: James Kent Date: Thu, 19 Sep 2024 14:22:23 -0500 Subject: [PATCH] use correct container for checking database --- .github/workflows/deploy-to-staging.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-staging.yml b/.github/workflows/deploy-to-staging.yml index 7346203f..16ae3349 100644 --- a/.github/workflows/deploy-to-staging.yml +++ b/.github/workflows/deploy-to-staging.yml @@ -68,7 +68,7 @@ jobs: docker compose up -d # Wait for PostgreSQL to be ready - until docker compose exec store pg_isready; do sleep 5; done + until docker compose exec store_pgsql pg_isready; do sleep 5; done docker compose exec store flask db migrate docker compose exec store flask db upgrade @@ -84,7 +84,7 @@ jobs: docker compose up -d # Wait for PostgreSQL to be ready - until docker compose exec compose pg_isready; do sleep 5; done + until docker compose exec compose_pgsql pg_isready; do sleep 5; done docker compose exec compose flask db migrate docker compose exec compose flask db upgrade