Skip to content

Commit 9636d7b

Browse files
committed
udpate CI/CD runners version
1 parent 332f5dc commit 9636d7b

2 files changed

Lines changed: 16 additions & 11 deletions

File tree

‎.github/workflows/build-docs.yml‎

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
uv run build_docs.py
6464
6565
- name: Upload documentation artifacts
66-
uses: actions/upload-artifact@v4
66+
uses: actions/upload-artifact@v7
6767
with:
6868
name: documentation
6969
path: docs/_build/html/
@@ -75,20 +75,25 @@ jobs:
7575
if: github.ref == 'refs/heads/main'
7676
needs: build-docs
7777
runs-on: ubuntu-latest
78-
permissions:
79-
contents: write
78+
environment:
79+
name: github-pages
80+
url: ${{ steps.deployment.outputs.page_url }}
81+
8082
steps:
81-
- name: Checkout repository
82-
uses: actions/checkout@v4
83+
- name: Configure GitHub Pages
84+
uses: actions/configure-pages@v5
8385

8486
- name: Download documentation artifact
85-
uses: actions/download-artifact@v4
87+
uses: actions/download-artifact@v8
8688
with:
8789
name: documentation
8890
path: docs-out
8991

90-
- name: Deploy to GitHub Pages
91-
uses: peaceiris/actions-gh-pages@v4
92+
- name: Upload Pages artifact
93+
uses: actions/upload-pages-artifact@v4
9294
with:
93-
github_token: ${{ secrets.GITHUB_TOKEN }}
94-
publish_dir: docs-out
95+
path: docs-out
96+
97+
- name: Deploy to GitHub Pages
98+
id: deployment
99+
uses: actions/deploy-pages@v4

‎.github/workflows/ci-cd.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
uv build
8282
8383
- name: Upload build artifacts
84-
uses: actions/upload-artifact@v4
84+
uses: actions/upload-artifact@v7
8585
with:
8686
name: dist-packages
8787
path: dist/*

0 commit comments

Comments
 (0)