From 23ffd473a800dd5b55befcde228c205d9bb27cce Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Sun, 31 Mar 2024 16:41:10 +0200 Subject: [PATCH] --wait for healthy DB --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9f3fb850..c3790bc5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -86,7 +86,7 @@ jobs: run: | docker compose pull db docker image ls ghcr.io/hiddewie/openrailwaymap-import-db:latest - docker compose up --no-build --pull never --detach db + docker compose up --no-build --pull never --wait db - name: Ensure data is up to date env: @@ -154,7 +154,7 @@ jobs: - name: Pull database run: | docker compose pull db - docker compose up --no-build --pull never --detach db + docker compose up --no-build --pull never --wait db - name: Generate tiles env: