diff --git a/Makefile b/Makefile index b2bad7e..76ade1f 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ deploy: npx tailwindcss -i ./input.css -o ./style/output.css tac Cargo.toml | sed '1s/^.//' | tac > fichier_temp.txt && mv fichier_temp.txt Cargo.toml - cargo leptos build - #cargo leptos build --release + #cargo leptos build + cargo leptos build --release tac Cargo.toml | sed '1s/^/#/' | tac > fichier_temp.txt && mv fichier_temp.txt Cargo.toml ssh raspiwork "sudo systemctl stop rust_leptos.service" - #scp target/aarch64-unknown-linux-gnu/release/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 target/aarch64-unknown-linux-gnu/release/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/ ssh raspiwork "sudo systemctl start rust_leptos.service"