diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-10-02 22:46:49 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 14:46:49 +0200 |
commit | b3d674549f29211cac2c322e4f3669a7a612f55c (patch) | |
tree | 520f5db70403a18424f0796f7c3ee87ad111adf8 /.github | |
parent | c04277eb1ef39bda9d36fec489d86a5b833516d4 (diff) |
.github/workflows: build NixOS/Nixpkgs manuals (#88488)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/manual-nixos.yml | 19 | ||||
-rw-r--r-- | .github/workflows/manual-nixpkgs.yml | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/manual-nixos.yml b/.github/workflows/manual-nixos.yml new file mode 100644 index 0000000000000..b28e1f98995d0 --- /dev/null +++ b/.github/workflows/manual-nixos.yml @@ -0,0 +1,19 @@ +name: "Build NixOS manual" + +on: + pull_request_target: + paths: + - 'nixos/**' + +jobs: + nixos: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v11 + - uses: cachix/cachix-action@v6 + with: + name: nixpkgs-ci + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - name: Building NixOS manual + run: nix-build nixos/release.nix -A manual.x86_64-linux diff --git a/.github/workflows/manual-nixpkgs.yml b/.github/workflows/manual-nixpkgs.yml new file mode 100644 index 0000000000000..05b29b107523b --- /dev/null +++ b/.github/workflows/manual-nixpkgs.yml @@ -0,0 +1,19 @@ +name: "Build Nixpkgs manual" + +on: + pull_request_target: + paths: + - 'doc/**' + +jobs: + nixpkgs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v11 + - uses: cachix/cachix-action@v6 + with: + name: nixpkgs-ci + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - name: Building Nixpkgs manual + run: nix-build pkgs/top-level/release.nix -A manual |