Revert "Use dedicated website folder for PH region"

This reverts commit 0b3fe57a93.
This commit is contained in:
Sébastien Bourdeauducq 2025-01-08 10:32:29 +08:00
parent 0b3fe57a93
commit 3f33c1c980

View File

@ -752,10 +752,6 @@ in
job = web:web:web job = web:web:web
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/web command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/web
</runcommand> </runcommand>
<runcommand>
job = web:web:web-ph
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/web-ph
</runcommand>
<runcommand> <runcommand>
job = web:web:web-intl 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@10.47.3.0:/var/www/m-labs-intl.com/html/ command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ${pkgs.rsync}/bin/rsync -r -c $(jq -r '.outputs[0].path' < $HYDRA_JSON)/ zolaupd@10.47.3.0:/var/www/m-labs-intl.com/html/
@ -1053,10 +1049,7 @@ in
enableACME = true; enableACME = true;
globalRedirect = "m-labs.hk"; globalRedirect = "m-labs.hk";
}; };
"m-labs.ph" = mainWebsite // { "m-labs.ph" = mainWebsite;
root = "${hydraWwwOutputs}/web-ph";
forceSSL = true;
};
"www.m-labs.ph" = { "www.m-labs.ph" = {
addSSL = true; addSSL = true;
enableACME = true; enableACME = true;