Fix deploy script quoting
This commit is contained in:
parent
c24c0fac45
commit
f475e1791e
|
|
@ -9,5 +9,3 @@ URL="${URL:-http://$HOST}"
|
|||
DEST="${DEST:-$HOME/toes}"
|
||||
DATA_DIR="${DATA_DIR:-$HOME/data}"
|
||||
APPS_DIR="${APPS_DIR:-$HOME/apps}"
|
||||
|
||||
mkdir -p "$DEST" "$DATA_DIR" "$APPS_DIR"
|
||||
|
|
|
|||
|
|
@ -9,4 +9,8 @@ ROOT_DIR="$SCRIPT_DIR/.."
|
|||
source "$ROOT_DIR/scripts/config.sh"
|
||||
|
||||
# Run remote install on the target
|
||||
ssh "$SSH_HOST" "git clone https://git.nose.space/defunkt/toes $DEST && cd $DEST && ./scripts/install.sh"
|
||||
ssh "$SSH_HOST" bash <<'SCRIPT'
|
||||
set -e
|
||||
DEST="${DEST:-$HOME/toes}"
|
||||
git clone https://git.nose.space/defunkt/toes "$DEST" && cd "$DEST" && ./scripts/install.sh
|
||||
SCRIPT
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user