summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-05-21 01:56:08 +0200
committertv <tv@krebsco.de>2015-05-21 01:56:08 +0200
commit60e526dc9419d0bff89b05f4a98332aae48a0253 (patch)
tree484cb2c1075cdcabe8020ca40704f4d68f2b2fed /deploy
parent6b976a36f5ef72d7463f848b55f250b807291bfd (diff)
sh: functions -> bin/
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy b/deploy
index 03a2001..43021d5 100755
--- a/deploy
+++ b/deploy
@@ -4,7 +4,8 @@
#
set -euf
-. ./lib/prelude.sh
+PATH="$PWD/bin${PATH+:$PATH}"
+export PATH
user=root
host=$1
@@ -12,4 +13,4 @@ host=$1
config=./modules/$host/default.nix
target=${2-$user@$host}
-verbose deploy "$config" "$target"
+exec ssh-deploy "$config" "$target"