From 757eecb95b87194f275a4a0a83e304f20fe228a0 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 4 Feb 2019 12:49:09 -0800 Subject: Add some logging details --- deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy.sh b/deploy.sh index 232221c..096b205 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,8 +1,14 @@ #!/usr/bin/env bash +echo ":: Cleaning" rm -f ./result + +echo ":: Building" nix-build --attr system ./nixos.nix + +echo ":: Copying" nix copy --to "ssh://root@simatime.com" ./result +echo ":: Switching" path=$(readlink -n ./result) ssh root@simatime.com sudo "$path/bin/switch-to-configuration" switch -- cgit v1.2.3