diff --git a/hosts/madohomu/deploy.sh b/hosts/madohomu/deploy.sh new file mode 100755 index 0000000..ff102e7 --- /dev/null +++ b/hosts/madohomu/deploy.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -eau + +SCRIPT=$(realpath "$0") +SCRIPTPATH=$(dirname "$SCRIPT") + +$SCRIPTPATH/../../switch --remote root@madoka .#madoka +$SCRIPTPATH/../../switch --remote root@homura .#homura \ No newline at end of file diff --git a/switch b/switch index 4f93193..35fbfd5 100755 --- a/switch +++ b/switch @@ -37,8 +37,6 @@ function log_then_run { $@ } -echo $args - function on_exit { git restore --staged secrets/unsafe.key if [ $(hostname) == "teidesu-osx" ]; then