Quote deploy command correctly

master
clerie 3 weeks ago
parent abd589aa73
commit fb1c2cd1e8
  1. 2
      deploy.sh

@ -10,7 +10,7 @@ fi
cmd=" \
nixos-rebuild switch \
-I nixos-config=hosts/${DEPLOY_HOST}/configuration.nix --show-trace\
-I "nixos-config=hosts/${DEPLOY_HOST}/configuration.nix" --show-trace\
"
if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then

Loading…
Cancel
Save