Merge branch 'docs/main' into main #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
- rel-* | |
pull_request: | |
branches: | |
- main | |
- rel-* | |
jobs: | |
build: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- run: nix-env -f docs/default.nix -iA build | |
- run: postgrest-docs-build | |
- run: git diff --exit-code HEAD locales || echo "Please commit changes to the locales/ folder after running postgrest-docs-build." | |
spellcheck: | |
name: Run spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- run: nix-env -f docs/default.nix -iA spellcheck | |
- run: postgrest-docs-spellcheck | |
dictcheck: | |
name: Run dictcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- run: nix-env -f docs/default.nix -iA dictcheck | |
- run: postgrest-docs-dictcheck | |
linkcheck: | |
name: Run linkcheck | |
if: github.base_ref == 'main' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- run: nix-env -f docs/default.nix -iA linkcheck | |
- run: postgrest-docs-linkcheck | |