2022-02-15 11:10:55 +00:00
|
|
|
name: Publish Docs
|
2022-02-19 20:54:22 +00:00
|
|
|
|
2022-02-15 11:10:55 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2022-02-19 20:54:45 +00:00
|
|
|
concurrency:
|
|
|
|
group: publish-docs
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-02-15 11:10:55 +00:00
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-08-30 16:28:38 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-python@v4
|
2022-02-15 11:10:55 +00:00
|
|
|
with:
|
|
|
|
python-version: 3.x
|
2023-08-30 16:28:38 +00:00
|
|
|
- run: pip install mkdocs-material mkdocs-redirects mkdocs-git-revision-date-localized-plugin
|
2022-02-19 22:14:12 +00:00
|
|
|
- run: mkdocs gh-deploy --force --config-file mkdocs-gh-pages.yml
|