forked from mirrors/nixpkgs
.github/workflows: build NixOS/Nixpkgs manuals (#88488)
This commit is contained in:
parent
c04277eb1e
commit
b3d674549f
19
.github/workflows/manual-nixos.yml
vendored
Normal file
19
.github/workflows/manual-nixos.yml
vendored
Normal file
|
@ -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
|
19
.github/workflows/manual-nixpkgs.yml
vendored
Normal file
19
.github/workflows/manual-nixpkgs.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in a new issue