docs: merge postgrest-docs into the core repository #2
Workflow file for this run
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: Documentation | |
on: | |
push: | |
branches: | |
- main | |
- v* | |
pull_request: | |
branches: | |
- main | |
- v* | |
jobs: | |
build: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v24 | |
- run: nix-env -f default.nix -iA build | |
- run: postgrest-docs-build | |
spellcheck: | |
name: Run spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Nix Environment | |
uses: ./.github/actions/setup-nix | |
with: | |
tools: docs | |
cache-id: common | |
- run: postgrest-docs-spellcheck | |
dictcheck: | |
name: Run dictcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Nix Environment | |
uses: ./.github/actions/setup-nix | |
with: | |
tools: docs | |
cache-id: common | |
- run: postgrest-docs-dictcheck | |
linkcheck: | |
name: Run linkcheck | |
if: github.base_ref == 'main' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Nix Environment | |
uses: ./.github/actions/setup-nix | |
with: | |
tools: docs | |
cache-id: common | |
- run: postgrest-docs-linkcheck |