From 18194be5c3bd822834b7242d5ac4d3efec77789c Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Wed, 14 Aug 2024 10:54:52 +0800 Subject: [PATCH] nixbld: deploy web2019 to the intl domain Co-authored-by: Egor Savkin Co-committed-by: Egor Savkin --- nixbld-etc-nixos/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index aa68494..24c2b55 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -658,6 +658,10 @@ in job = web:web:web command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/web + + job = web:web:web-intl + command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ${pkgs.rsync}/bin/rsync -r -c $(jq -r '.outputs[0].path' < $HYDRA_JSON)/ zolaupd@5.78.86.156:/var/www/m-labs-intl.com/html/ + job = web:web:nmigen-docs command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/nmigen-docs