Skip to content

Commit c9d33cb

Browse files
authored
ci: fix CI workflows (#29)
1 parent e762861 commit c9d33cb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-python@v4
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-python@v5
1212
with:
13-
python-version: 3.10.8
13+
python-version: 3.11
1414
- run: pip install mkdocs-material
1515
- run: mkdocs gh-deploy --force

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
- name: Setup Python
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
33-
python-version: '3.10'
33+
python-version: '3.11'
3434
- name: Install MkDocs and Material for MkDocs
3535
run: pip install mkdocs[i18n] mkdocs-material
3636
- name: Install Pillow and CairoSVG (required for social card generation)
3737
run: pip install pillow cairosvg
3838
- name: Setup caching
39-
uses: actions/cache@v3
39+
uses: actions/cache@v4
4040
with:
4141
key: ${{ github.ref }}
4242
path: .cache
4343
- name: Build site (_site directory name is used for Jekyll compatiblity)
4444
run: mkdocs build --config-file ./mkdocs.yml --site-dir ./_site
4545
- name: Upload artifact
46-
uses: actions/upload-pages-artifact@v1
46+
uses: actions/upload-pages-artifact@v3
4747

4848
# Deployment job
4949
deploy:
@@ -55,4 +55,4 @@ jobs:
5555
steps:
5656
- name: Deploy to GitHub Pages
5757
id: deployment
58-
uses: actions/deploy-pages@v1
58+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)