style nitpicks
This commit is contained in:
parent
86bc0dfc1f
commit
7f977e6879
|
@ -88,17 +88,14 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Optional deployments
|
# Optional deployments
|
||||||
${lib.concatLines (map ({
|
${lib.concatLines (map (t: ''
|
||||||
derivationTarget,
|
if ${pkgs.inetutils}/bin/ping -c 1 ${t.pingTarget}; then
|
||||||
pingTarget,
|
|
||||||
}: ''
|
|
||||||
if ${pkgs.inetutils}/bin/ping -c 1 ${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" \
|
||||||
--ssh-user=deployerbot-follower \
|
--ssh-user=deployerbot-follower \
|
||||||
--confirm-timeout 60 \
|
--confirm-timeout 60 \
|
||||||
--skip-checks \
|
--skip-checks \
|
||||||
--targets ${derivationTarget} -- \
|
--targets ${t.derivationTarget} -- \
|
||||||
--accept-flake-config || EXITCODE=1
|
--accept-flake-config || EXITCODE=1
|
||||||
fi
|
fi
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in New Issue