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
|
2022-08-24 04:08:51 +00:00
|
|
|
- run: pip install mkdocs-material mkdocs-static-i18n
|
2022-07-09 07:04:04 +00:00
|
|
|
- run: mkdocs gh-deploy -m "{sha}" --force --ignore-version --no-history
|