Skip to content

docs(readme): link to the published docs site and restructure #66

docs(readme): link to the published docs site and restructure

docs(readme): link to the published docs site and restructure #66

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
pages: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- run: pip install mkdocs-material
- name: Build MkDocs
run: mkdocs build -d build/docs
- name: Copy landing page
run: |
cp site/index.html build/
cp site/style.css build/
cp -r site/assets build/assets
touch build/.nojekyll
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build