mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 09:49:48 +01:00
ci: build docs-checklink package in CI to ensure link validity
This commit is contained in:
parent
5618dadd96
commit
e43a067cae
2 changed files with 15 additions and 8 deletions
21
.github/workflows/check-docs.yml
vendored
21
.github/workflows/check-docs.yml
vendored
|
@ -19,13 +19,6 @@ jobs:
|
||||||
- docs-manpages
|
- docs-manpages
|
||||||
- docs-json
|
- docs-json
|
||||||
steps:
|
steps:
|
||||||
- uses: easimon/maximize-build-space@v10
|
|
||||||
with:
|
|
||||||
overprovision-lvm: true
|
|
||||||
remove-android: true
|
|
||||||
remove-dotnet: true
|
|
||||||
remove-haskell: true
|
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
@ -49,3 +42,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "${{ matrix.package }}"
|
name: "${{ matrix.package }}"
|
||||||
path: result/share/doc/nvf
|
path: result/share/doc/nvf
|
||||||
|
|
||||||
|
flake-docs-linkcheck:
|
||||||
|
name: Validate hyperlinks in documentation sources
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install Nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
name: Checkout
|
||||||
|
|
||||||
|
- name: Build documentation packages
|
||||||
|
run: nix build .#docs-linkcheck -Lv
|
||||||
|
|
2
.github/workflows/manual.yml
vendored
2
.github/workflows/manual.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- run: |
|
- run: |
|
||||||
nix build .#docs
|
nix build .#docs -Lv
|
||||||
cp -r result/share/doc/nvf public
|
cp -r result/share/doc/nvf public
|
||||||
- uses: peaceiris/actions-gh-pages@v4
|
- uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue