From 9667ee54c4cd5c0c3cf448375b3c1591b9e9f113 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Wed, 18 Sep 2024 15:20:24 +0200 Subject: [PATCH] wait on 3 --- .gitea/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index a86732b..415b1ff 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -33,6 +33,12 @@ jobs: - name: Run server in background run: just prod > server.log & working-directory: axum_server + - uses: cygnetdigital/wait_for_response@v2.0.0 + with: + url: 'http://localhost:3081/' + responseCode: '200,500' + timeout: 5000 + interval: 200 - name: run ssg run: just ssg working-directory: axum_server