Login
4 branches 0 tags
Ben (Desktop/Arch) Fixed cloning when main branch is not "main" b5e0c07 22 days ago 206 Commits
rubhub / deploy.systemd
#!/usr/bin/env bash
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"

npm ci
npm run build
cargo build --release
install -Dm0755 target/release/rubhub /usr/local/bin/rubhub

install -Dm0644 rubhub.service /etc/systemd/system/rubhub.service
systemctl daemon-reload
systemctl restart rubhub