docs: add docs and improve README

This commit is contained in:
technofab 2025-11-18 18:26:50 +01:00
parent 8cf73a70ef
commit c16bc97264
No known key found for this signature in database
10 changed files with 159 additions and 4 deletions

View file

@ -39,6 +39,30 @@ in
];
artifacts.paths = ["dist/"];
};
"docs" = {
stage = "build";
script = [
# sh
''
nix build .#docs:default
mkdir -p public
cp -r result/. public/
''
];
artifacts.paths = ["public"];
};
"pages" = {
nix.enable = false;
image = "alpine:latest";
stage = "upload";
script = ["true"];
artifacts.paths = ["public"];
rules = [
{
"if" = "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH";
}
];
};
"upload" = {
stage = "upload";
nix.deps = [pkgs.buildah];