-
-
Notifications
You must be signed in to change notification settings - Fork 103
26 lines (24 loc) · 741 Bytes
/
generate-docs.yml
File metadata and controls
26 lines (24 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.11
- 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