deployerbot: style nits
This commit is contained in:
parent
7f977e6879
commit
c1ab3084f5
|
@ -88,7 +88,7 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Optional deployments
|
# Optional deployments
|
||||||
${lib.concatLines (map (t: ''
|
${lib.concatMapStringsSep "\n" (t: ''
|
||||||
if ${pkgs.inetutils}/bin/ping -c 1 ${t.pingTarget}; then
|
if ${pkgs.inetutils}/bin/ping -c 1 ${t.pingTarget}; then
|
||||||
${pkgs.deploy-rs.deploy-rs}/bin/deploy \
|
${pkgs.deploy-rs.deploy-rs}/bin/deploy \
|
||||||
--ssh-opts="-i ''${CREDENTIALS_DIRECTORY}/ssh-key" \
|
--ssh-opts="-i ''${CREDENTIALS_DIRECTORY}/ssh-key" \
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
--accept-flake-config || EXITCODE=1
|
--accept-flake-config || EXITCODE=1
|
||||||
fi
|
fi
|
||||||
'')
|
'')
|
||||||
cfg.deployIfPresent)}
|
cfg.deployIfPresent}
|
||||||
|
|
||||||
exit $EXITCODE
|
exit $EXITCODE
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue