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