From 56aff0b2e7913e7161c410cb1a51dc1da7e089df Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Mon, 6 Jan 2025 16:55:15 +0800 Subject: [PATCH] Build website for PH as well To make robots.txt and sitemap fully correct Signed-off-by: Egor Savkin --- web.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web.nix b/web.nix index 285a81a..811dbaa 100644 --- a/web.nix +++ b/web.nix @@ -11,6 +11,11 @@ in export DOMAINNAME=m-labs-intl.com ${pkgs.zola}/bin/zola build -o $out -u https://$DOMAINNAME ''; + web-ph = pkgs.runCommand "web-ph" {} + '' + cd ${web-src} + DOMAINNAME=m-labs.hk ${pkgs.zola}/bin/zola build -o $out -u https://m-labs.ph + ''; sphinxcontrib-platformpicker = pkgs.python3Packages.buildPythonPackage rec { pname = "sphinxcontrib-platformpicker"; version = "1.3";