File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed
Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,13 @@ jobs:
1313 - uses : actions/checkout@v4
1414 - name : Configure Git Credentials
1515 run : |
16- git config user.name github-actions[bot]
17- git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18- - uses : actions/setup-python@v5
16+ git config --global user.name 'GitHub Actions'
17+ git config --global user.email 'actions@github.com'
18+ - name : Set up Python 3.11
19+ uses : actions/setup-python@v5
1920 with :
20- python-version : 3.x
21- - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22- - uses : actions/cache@v4
23- with :
24- key : mkdocs-material-${{ env.cache_id }}
25- path : .cache
26- restore-keys : |
27- mkdocs-material-
28- - run : pip install mkdocs-material
29- - run : pip install mkdocs-autorefs
30- - run : pip install mkdocs-get-deps
31- - run : pip install mkdocs-material-extensions
32- - run : pip install mkdocstrings
33- - run : pip install mkdocstrings-python
34- - run : mkdocs gh-deploy --force --verbose
21+ python-version : " 3.11"
22+ - name : Install Dependencies
23+ run : pip install mkdocs-material mkdocs-autorefs mkdocs-get-deps mkdocs-material-extensions mkdocstrings mkdocstrings-python
24+ - name : Deploy docs
25+ run : mkdocs gh-deploy --force --verbose
Original file line number Diff line number Diff line change 4949
5050 - name : Publish package distributions to PyPI
5151 run : poetry publish --username $PYPI_USERNAME --password $PYPI_PASSWORD
52+
53+ - name : Publish documentation
54+ run : pip install mkdocs-material
55+ run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments