3
0
Fork 0
forked from mirrors/nixpkgs

.github/workflows: build NixOS/Nixpkgs manuals (#88488)

This commit is contained in:
zowoq 2020-10-02 22:46:49 +10:00 committed by GitHub
parent c04277eb1e
commit b3d674549f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

19
.github/workflows/manual-nixos.yml vendored Normal file
View 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
View 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