rebuild website over justfile

This commit is contained in:
xqtc161 2024-07-01 16:08:13 +02:00
parent 4a285e0444
commit 755512cac7

View file

@ -1,7 +1,9 @@
beleth-host := "root@88.99.90.90" beleth-host := "root@88.99.90.90"
beleth-user-host:= "xqtc@88.99.90.90"
rebuild: rebuild:
nh os switch . -- -vv nh os switch . -- -vv
beleth: beleth:
nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}} nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}}
ssh {{beleth-user-host}} "cd; cd nixos-config; git pull; cd; sh build_website.sh"