build: add a script for easier deploy

This commit is contained in:
dusk 2024-10-23 08:28:49 +09:00
parent d0993eb19b
commit e86cfc1d23
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

13
deploy.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set +x
git commit -m "$1" && git push
git tag -f latest && git push -f --tags
sleep 15s
cd $HOME/ark
nix flake update blog
nix run .#nh -- os build -H wolumonde .
nix run .#apps.nixinate.wolumonde -L --show-trace