You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
250 B
Bash
23 lines
250 B
Bash
3 years ago
|
#!/bin/sh
|
||
|
|
||
|
set -eu
|
||
|
|
||
|
if test -v XDG_CONFIG_DIR; then
|
||
|
CFGDIR="$XDG_CONFIG_DIR"
|
||
|
else
|
||
|
CFGDIR="$HOME/.config"
|
||
|
fi
|
||
|
|
||
|
# Drop pre-existing values
|
||
|
USER=
|
||
|
HOST=
|
||
|
DIR=
|
||
|
|
||
|
. "$CFGDIR/wish/remote.sh.inc"
|
||
|
|
||
|
ssh -l "$USER" "$HOST" -t "
|
||
|
set -eu
|
||
|
cd $DIR
|
||
|
./deploy.sh
|
||
|
"
|