Skip to content

Update mkdocs.yml

Update mkdocs.yml #6

Workflow file for this run

name: Build and Deploy Docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Build docs
run: mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
- name: Get deployment URL
run: |
echo "Docs deployed to: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/"