Quote deploy command correctly
This commit is contained in:
parent
abd589aa73
commit
fb1c2cd1e8
@ -10,7 +10,7 @@ fi
|
|||||||
|
|
||||||
cmd=" \
|
cmd=" \
|
||||||
nixos-rebuild switch \
|
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
|
if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user