Skip to content

Use branch-based deployments for docs #6

Use branch-based deployments for docs

Use branch-based deployments for docs #6

Workflow file for this run

name: Deploy MkDocs site to GitHub Pages
on:
push:
branches:
- main
jobs:
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: |
python -m pip install --upgrade pip
pip install mkdocs
- name: Build MkDocs site
run: mkdocs build --clean
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: site