Skip to content

Publish docs via GitHub Pages #11

Publish docs via GitHub Pages

Publish docs via GitHub Pages #11

name: Publish docs via GitHub Pages
on:
workflow_dispatch:
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
with:
ref: main
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: ./mkdocs.yml
EXTRA_PACKAGES: build-base
REQUIREMENTS: ./requirements.txt