9 lines
430 B
Makefile
9 lines
430 B
Makefile
deploy:
|
|
cargo leptos build
|
|
#cargo leptos build --release
|
|
ssh raspiwork "sudo systemctl stop rust_leptos.service"
|
|
scp target/aarch64-unknown-linux-gnu/debug/rust_leptos raspiwork:/var/www/rust_leptos/rust_leptos
|
|
#scp target/aarch64-unknown-linux-gnu/debug/rust_leptos raspiwork:/var/www/rust_leptos/rust_leptos
|
|
scp -r target/site raspiwork:/var/www/rust_leptos/site/
|
|
ssh raspiwork "sudo systemctl start rust_leptos.service"
|