Skip to content

Merge branch '84-build-add-github-pages-documentation-site-and-ci-int… #1

Merge branch '84-build-add-github-pages-documentation-site-and-ci-int…

Merge branch '84-build-add-github-pages-documentation-site-and-ci-int… #1

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [release, staging]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install MkDocs + Material theme
run: |
pip install mkdocs mkdocs-material
- name: Build documentation
run: mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site