deploy script
Some checks failed
test / cargo test (push) Failing after 2m26s

This commit is contained in:
Michal Vanko 2024-09-18 12:47:25 +02:00
parent 18bcd0a45e
commit fbb70fa6f2
3 changed files with 13 additions and 6 deletions

View File

@ -11,12 +11,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: cache
uses: Swatinem/rust-cache@v2
working-directory: axum_server
- 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
- uses: JarvusInnovations/background-action@v1
run: cd axum_server && just prod
working-directory: axum_server
wait-on: http://localhost:3001
wait-for: 10m
tail: true
- run: cd axum_server && just ssg
- uses: actions/upload-artifact@v4
with:

View File

@ -67,3 +67,6 @@ export: clean
just wait_for_port
just ssg
just kill
deploy:
rsync -avz -e ssh ./dist/ michalvanko@katelyn:.config/containers/systemd/michalvankodev-site/dist/

View File

@ -50,9 +50,9 @@ async fn main() {
}
// TODO Socials
// - fotos
// TODO ul li article styles
// TODO header height difference
// - fotos
// TODO Colors
// TODO print css and other 404 css linked in base.html
// TODO go live pipeline