2023-11-02 20:44:14 +00:00
|
|
|
name: github-pages
|
|
|
|
on:
|
|
|
|
push:
|
2024-12-03 18:04:43 +00:00
|
|
|
branches: [master]
|
|
|
|
tags: ["v*"]
|
|
|
|
|
2023-11-02 20:44:14 +00:00
|
|
|
permissions:
|
|
|
|
contents: write
|
2024-12-03 18:04:43 +00:00
|
|
|
|
2023-11-02 20:44:14 +00:00
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2024-12-03 18:04:43 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
2024-03-04 09:19:51 +00:00
|
|
|
- uses: actions/setup-python@v5
|
2023-11-02 20:44:14 +00:00
|
|
|
with:
|
|
|
|
python-version: 3.x
|
2024-12-03 18:04:43 +00:00
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: pip install mike mkdocs-material[imaging] mkdocs-minify-plugin
|
|
|
|
|
|
|
|
- name: Publish documentation
|
|
|
|
run: mike deploy --push --update-aliases ${{ github.ref_name }} latest
|
|
|
|
env:
|
|
|
|
GIT_COMMITTER_NAME: "github-actions[bot]"
|
|
|
|
GIT_COMMITTER_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
|