summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-05-21 01:56:08 +0200
committertv <tv@shackspace.de>2015-05-21 01:56:08 +0200
commit36670f3e1cccad579b994a29320eeb8e287803b7 (patch)
tree484cb2c1075cdcabe8020ca40704f4d68f2b2fed /deploy
parentb95a514bcced00af77ae4adab77326dba9ab4c36 (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 03a20017..43021d54 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"