From 707565040ac4d01663a538c3074881e7c65803c6 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Wed, 19 Feb 2025 11:32:17 +0100 Subject: [PATCH] .github/workflows: build the nixos manual also when doc/ changed We import things like the nixpkgs release notes, and the css and js files from doc/ into nixos/doc/, so building the nixos manual whenever doc/ was modified, avoids failures reaching master. --- .github/workflows/manual-nixos-v2.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manual-nixos-v2.yml b/.github/workflows/manual-nixos-v2.yml index c83d53e8a51a..687dc6eaf64e 100644 --- a/.github/workflows/manual-nixos-v2.yml +++ b/.github/workflows/manual-nixos-v2.yml @@ -5,7 +5,11 @@ on: branches: - master paths: - - 'nixos/**' + - "nixos/**" + # Also build when the nixpkgs doc changed, since we take things like + # the release notes and some css and js files from there. + # See nixos/doc/manual/default.nix + - "doc/**" permissions: {}