From a33ef7f97cfd045afa86365edf4d3a84700c6a43 Mon Sep 17 00:00:00 2001 From: Ivan Huang <82309649+hivanyf9745@users.noreply.github.com> Date: Sun, 21 Sep 2025 20:42:14 -0400 Subject: [PATCH] Modified github workflow deploy.yml --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 033dfe77..3e6781c0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,10 +15,13 @@ jobs: postgres: image: postgres:15 env: + POSTGRES_USER: ${{secrets.POSTGRES_USER}} POSTGRES_PASSWORD: ${{secrets.POSTGRES_PASSWORD}} POSTGRES_DB: ${{secrets.POSTGRES_DB}} + ports: + - 5432:5432 options: >- - --health-cmd pg_isready + --health-cmd "pg_isready -U postgres" --health-interval 10s --health-timeout 5s --health-retries 5