index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'justfile')

-rw-r--r-- justfile 8
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/justfile b/justfile
index b94382e..f894d57 100644
--- a/justfile
+++ b/justfile
@@ -17,10 +17,10 @@

# Build and deploy ARM64 binary + systemd service to Orange Pi
deploy host="pi": build-arm
    ssh {{host}} "systemctl stop git-rs || true"
    scp target/{{arm_target}}/release/git-rs {{host}}:/usr/bin/git-rs
    # scp git-rs.service {{host}}:/etc/systemd/system/git-rs.service
    ssh {{host}} "systemctl daemon-reload && systemctl start git-rs"
    ssh {{host}} "systemctl stop gitrs || true"
    scp target/{{arm_target}}/release/gitrs {{host}}:/usr/bin/gitrs
    # scp gitrs.service {{host}}:/etc/systemd/system/gitrs.service
    ssh {{host}} "systemctl daemon-reload && systemctl start gitrs"

# Run locally (e.g. `just run -p 8080 -r ./repos`)
run *args: