ci/manual-nixos: init

The NixOS manual can now be built locally the same way as in CI with:

  nix-build ci -A manual-nixos
This commit is contained in:
Wolfgang Walther
2025-05-05 21:28:41 +02:00
parent 7097614efd
commit 89520b962a
2 changed files with 2 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ jobs:
- name: Build NixOS manual
id: build-manual
run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true nixos/release.nix -A manual.${{ matrix.system }}
run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true ci -A manual --argstr system ${{ matrix.system }}
- name: Upload NixOS manual
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

View File

@@ -73,4 +73,5 @@ in
# CI jobs
lib-tests = import ../lib/tests/release.nix { inherit pkgs; };
manual-nixos = (import ../nixos/release.nix { }).manual.${system} or null;
}