nixbld: serve nmigen docs

This commit is contained in:
Sebastien Bourdeauducq 2022-09-27 11:07:13 +08:00
parent 74f56f7ccc
commit d2bfca1f25
1 changed files with 8 additions and 8 deletions

View File

@ -413,6 +413,10 @@ 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:nmigen-docs
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/nmigen-docs
</runcommand>
<runcommand> <runcommand>
job = artiq:sipyco:sipyco-manual-html job = artiq:sipyco:sipyco-manual-html
@ -797,19 +801,15 @@ in
locations."/socket.io/".proxyPass = "http://127.0.0.1:9825"; locations."/socket.io/".proxyPass = "http://127.0.0.1:9825";
locations."/socket.io/".proxyWebsockets = true; locations."/socket.io/".proxyWebsockets = true;
}; };
"nmigen.org" = { "nmigen.net" = {
addSSL = true; addSSL = true;
enableACME = true; enableACME = true;
locations."/".extraConfig = '' root = "${hydraWwwOutputs}/nmigen-docs";
return 307 https://m-labs.hk/gateware/nmigen/;
'';
}; };
"www.nmigen.org" = { "www.nmigen.net" = {
addSSL = true; addSSL = true;
enableACME = true; enableACME = true;
locations."/".extraConfig = '' root = "${hydraWwwOutputs}/nmigen-docs";
return 307 https://m-labs.hk/gateware/nmigen/;
'';
}; };
}; };
}; };