From 1b24d45cd567f6e15e8b6340a7146c3ab7e234da Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Wed, 18 Sep 2024 13:17:18 +0200 Subject: [PATCH] see logs --- .gitea/workflows/release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index c16fbfe..6c2df29 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -29,13 +29,15 @@ jobs: - uses: nickderobertis/background-task-action@v1 with: - run: cd axum_server && just prod + run: cd axum_server && just prod > server.log 2>&1 & - name: Wait for server run: | - curl --retry 20 --retry-delay 3 --fail --retry-connrefused -Lsv http://localhost:3081 + curl --retry 50 --retry-delay 3 --fail --retry-connrefused -Lsv http://localhost:3081 - name: run ssg run: just ssg working-directory: axum_server + - name: Server log + run: cat axum_server/server.log - uses: actions/upload-artifact@v4 with: name: dist