feat: fix navigation; dev: use inotify for doc-watch #183
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 | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Nix Flakes doesn't work on shallow clones | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v23 | |
- run: nix run .#mmdoc -- mmdoc doc out | |
- if: success() | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
target_branch: gh-pages | |
build_dir: out/multi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |