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: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable - 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 - uses: taiki-e/install-action@just
- run: cd axum_server && just prod & - uses: JarvusInnovations/background-action@v1
- uses: iFaxity/wait-on-action@v1.2.1 run: cd axum_server && just prod
with: working-directory: axum_server
resource: http://localhost:3001 wait-on: http://localhost:3001
wait-for: 10m
tail: true
- run: cd axum_server && just ssg - run: cd axum_server && just ssg
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:

View File

@ -67,3 +67,6 @@ export: clean
just wait_for_port just wait_for_port
just ssg just ssg
just kill 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 // TODO Socials
// - fotos
// TODO ul li article styles // TODO ul li article styles
// TODO header height difference // TODO header height difference
// - fotos
// TODO Colors // TODO Colors
// TODO print css and other 404 css linked in base.html // TODO print css and other 404 css linked in base.html
// TODO go live pipeline // TODO go live pipeline