Skip to content

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: pip install mkdocs
- name: Build documentation
run: mkdocs build
- name: Deploy to GitHub Pages
uses: actions/deploy@v1
with:
flatten: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
publish-dir: ./site
branch: gh-pages