Update justfile

This commit is contained in:
xqtc161 2024-07-02 16:51:18 +02:00
parent 7528473bb3
commit 338da04271

View file

@ -21,7 +21,7 @@ beleth:
# arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//') # arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//')
# if [ $arch_sanitized == "x86_64-linux" ]; then # if [ $arch_sanitized == "x86_64-linux" ]; then
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"; ssh {{beleth-user-host}} "cd && cd nixos-config && git pull && cd && sh build_website.sh";
exit exit
# fi # fi
# @echo "Host arch needs to be 'x86_64-linux'! Aborting..."; # @echo "Host arch needs to be 'x86_64-linux'! Aborting...";