Skip to content

Commit 3d2abfc

Browse files
committed
Update workflow for deploying docs
1 parent b88966d commit 3d2abfc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fetch-depth: 0
3030

3131
- name: Set up Python
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: '3.x'
3535

@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Load cached venv
4343
id: cached-poetry-dependencies
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
with:
4646
path: .venv
4747
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
@@ -50,14 +50,11 @@ jobs:
5050
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
5151
run: poetry install --no-interaction --no-root
5252

53-
- name: Install MkDocs
54-
run: poetry add mkdocs mkdocs-material
55-
5653
- name: Build MkDocs site
5754
run: poetry run mkdocs build
5855

5956
- name: Upload artifact
60-
uses: actions/upload-pages-artifact@v2
57+
uses: actions/upload-pages-artifact@v3
6158
with:
6259
path: ./site
6360

@@ -70,4 +67,4 @@ jobs:
7067
steps:
7168
- name: Deploy to GitHub Pages
7269
id: deployment
73-
uses: actions/deploy-pages@v2
70+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)