2022-07-08 09:01:38 +00:00
|
|
|
name: Generate Documents
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-08-31 15:45:30 +00:00
|
|
|
- dev
|
2022-07-08 09:01:38 +00:00
|
|
|
paths:
|
2022-07-08 10:10:39 +00:00
|
|
|
- docs/**
|
2022-07-08 09:01:38 +00:00
|
|
|
- .github/workflows/mkdocs.yml
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-02-09 09:42:06 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-python@v4
|
2022-07-08 09:01:38 +00:00
|
|
|
with:
|
|
|
|
python-version: 3.x
|
2023-02-18 11:27:22 +00:00
|
|
|
- run: |
|
|
|
|
pip install mkdocs-material=="9.*" mkdocs-static-i18n=="0.53"
|
|
|
|
- run: |
|
|
|
|
mkdocs gh-deploy -m "{sha}" --force --ignore-version --no-history
|