Skip to content

mkdocs_build

mkdocs_build #1

Workflow file for this run

name: mkdocs_build
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "docs/**"
- "README.md"
- ".github/*.md"
env:
actor: "41898282+github-actions[bot]"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: git config
run: |
git config --local user.email "${actor}@users.noreply.github.com"
git config --local user.name "$actor"
- run: pip install --upgrade pip
- run: pip install -r docs/requirements.txt
- run: mkdocs gh-deploy --force