Skip to content

Commit e1e7c52

Browse files
authored
Merge branch 'IBM:main' into main
2 parents b2d6733 + 54f6644 commit e1e7c52

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

.github/workflows/mkdocs-deploy.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/python-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ jobs:
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

0 commit comments

Comments
 (0)