chore(develop): release 2.2.0 (#289) #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Automatic Documentation | |
on: | |
# Triggers the workflow on push | |
push: | |
branches: | |
- actions-dev | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Copy README.md to docs | |
run: cp ./README.md ./docs/index.md | |
- name: Install dependencies | |
run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files mkdocs-material | |
- 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 |