From 49fff88702f71cd4029d2fda5031c92167e4ae8e Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Tue, 17 Sep 2024 21:59:33 +0200 Subject: [PATCH] amend release workflow --- .gitea/workflows/release.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index c9cfa27..91253bd 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -4,6 +4,9 @@ on: branches: - main +env: + PORT: 3081 + jobs: release: name: release @@ -13,7 +16,11 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: taiki-e/install-action@just - - run: cd axum_server && just export + - run: cd axum_server && just prod & + - uses: iFaxity/wait-on-action@v1.2.1 + with: + resource: http://localhost:3001 + - run: cd axum_server && just ssg - uses: actions/upload-artifact@v4 with: name: dist