flake: fix "preDeploy" action mishandling null
This commit is contained in:
parent
059940d8e7
commit
a90898491e
|
@ -259,7 +259,7 @@
|
|||
deployScript = host: addr: action: pkgs.writeShellScript "deploy-${host}" ''
|
||||
host="${host}"
|
||||
addr="${addr}"
|
||||
action="${action}"
|
||||
action="${if action != null then action else ""}"
|
||||
runOnTarget() {
|
||||
# run the command ($@) on the machine we're deploying to.
|
||||
# if that's a remote machine, then do it via ssh, else local shell.
|
||||
|
|
Loading…
Reference in New Issue