try thiiis
This commit is contained in:
parent
9b078c4a21
commit
2e9e88b052
@ -18,13 +18,21 @@ jobs:
|
|||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
working-directory: axum_server
|
working-directory: axum_server
|
||||||
- uses: taiki-e/install-action@just
|
- uses: taiki-e/install-action@just
|
||||||
- uses: JarvusInnovations/background-action@v1
|
|
||||||
|
# - uses: JarvusInnovations/background-action@v1
|
||||||
|
# with:
|
||||||
|
# run: just prod &
|
||||||
|
# working-directory: axum_server
|
||||||
|
# wait-on: http://localhost:3081
|
||||||
|
# wait-for: 10m
|
||||||
|
# tail: true
|
||||||
|
|
||||||
|
- uses: nickderobertis/background-task-action@v1
|
||||||
with:
|
with:
|
||||||
run: just prod &
|
run: cd axum_server && just prod
|
||||||
working-directory: axum_server
|
- name: Wait for server
|
||||||
wait-on: http://localhost:3081
|
run: |
|
||||||
wait-for: 10m
|
curl --retry 20 --retry-delay 3 --fail --retry-connrefused -Lsv http://localhost:3081
|
||||||
tail: true
|
|
||||||
- name: run ssg
|
- name: run ssg
|
||||||
run: just ssg
|
run: just ssg
|
||||||
working-directory: axum_server
|
working-directory: axum_server
|
||||||
|
Loading…
Reference in New Issue
Block a user