see logs
This commit is contained in:
parent
2e9e88b052
commit
1b24d45cd5
@ -29,13 +29,15 @@ jobs:
|
|||||||
|
|
||||||
- uses: nickderobertis/background-task-action@v1
|
- uses: nickderobertis/background-task-action@v1
|
||||||
with:
|
with:
|
||||||
run: cd axum_server && just prod
|
run: cd axum_server && just prod > server.log 2>&1 &
|
||||||
- name: Wait for server
|
- name: Wait for server
|
||||||
run: |
|
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
|
- name: run ssg
|
||||||
run: just ssg
|
run: just ssg
|
||||||
working-directory: axum_server
|
working-directory: axum_server
|
||||||
|
- name: Server log
|
||||||
|
run: cat axum_server/server.log
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
|
Loading…
Reference in New Issue
Block a user