GitHub
The mdu GitHub Pages Action renders your documentation and publishes it to GitHub Pages.
- In your repository, open Settings → Pages and set Build and deployment → Source to GitHub Actions.
- Add this workflow. It runs whenever files under
docs/change onmain:
name: Publish docs
on:
push:
branches: [main]
paths:
- 'docs/**'
permissions:
contents: read
pages: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- uses: capjan/markdown-util-action@v1