From 35dcde695319fb02f662178688abe2117ac90f86 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Wed, 18 Sep 2024 13:25:17 +0200 Subject: [PATCH] different wait --- .gitea/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 6c2df29..c32f15c 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -31,8 +31,9 @@ jobs: with: run: cd axum_server && just prod > server.log 2>&1 & - name: Wait for server - run: | - curl --retry 50 --retry-delay 3 --fail --retry-connrefused -Lsv http://localhost:3081 + uses: iFaxity/wait-on-action + with: + resource: http://localhost:3081 - name: run ssg run: just ssg working-directory: axum_server