diff options
author | Ben Sima <ben@bsima.me> | 2019-02-04 12:49:09 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-02-04 12:49:09 -0800 |
commit | 757eecb95b87194f275a4a0a83e304f20fe228a0 (patch) | |
tree | bf72d5764bc7c5e8a1bc2ad803907dde3d0558f1 /deploy.sh | |
parent | 5284aa28f88010b9c72e33c4b61d40345b9bf473 (diff) |
Add some logging details
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |