Skip to content

Run mkdocs in the workflow #4

Run mkdocs in the workflow

Run mkdocs in the workflow #4

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- main
- mkdocs-workflow
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install python packages
run: |
python -m pip install --upgrade pip && pip install wheel && pip install -r requirements_docs.txt
- name: Run mkdocs
run: mkdocs gh-deploy --force