michalvankodev-site/.gitea/workflows/release.yaml
Michal Vanko 18bcd0a45e
Some checks failed
test / cargo test (push) Failing after 2m19s
disable release workflow
2024-09-17 22:09:06 +02:00

28 lines
621 B
YAML

name: release
on: workflow_dispatch
env:
PORT: 3081
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@just
- 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
path: axum_server/dist/
retention-days: 10