Skip to content

first commit

first commit #1

Workflow file for this run

name: Deploy-mkdocs
on:
push:
branches:
- main
paths:
- "**.md"
- "mkdocs.yml"
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
# runs-on: self-hosted
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files
- run: pip install jinja2==3.0.0
- run: pip install pymdown-extensions
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Publish docs
run: mkdocs gh-deploy