Skip to content

Commit c4063db

Browse files
committed
fix(pages): upgrade actions to Node.js 24 compatible versions
- checkout@v4 → v6 - configure-pages@v4 → v5 - upload-pages-artifact@v3 → v4 - Also update the template in pages.py for new projects Made-with: Cursor
1 parent 47a7532 commit c4063db

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
with:
3131
lfs: true
3232
- name: Cache-bust video URLs
@@ -48,9 +48,9 @@ jobs:
4848
path.write_text(new, encoding="utf-8")
4949
PY
5050
- name: Setup Pages
51-
uses: actions/configure-pages@v4
51+
uses: actions/configure-pages@v5
5252
- name: Upload artifact
53-
uses: actions/upload-pages-artifact@v3
53+
uses: actions/upload-pages-artifact@v4
5454
with:
5555
path: docs
5656
- name: Deploy to GitHub Pages

src/docgen/pages.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def _esc(s: str) -> str:
306306
runs-on: ubuntu-latest
307307
steps:
308308
- name: Checkout
309-
uses: actions/checkout@v4
309+
uses: actions/checkout@v6
310310
with:
311311
lfs: true
312312
- name: Cache-bust video URLs
@@ -328,9 +328,9 @@ def _esc(s: str) -> str:
328328
path.write_text(new, encoding="utf-8")
329329
PY
330330
- name: Setup Pages
331-
uses: actions/configure-pages@v4
331+
uses: actions/configure-pages@v5
332332
- name: Upload artifact
333-
uses: actions/upload-pages-artifact@v3
333+
uses: actions/upload-pages-artifact@v4
334334
with:
335335
path: {docs_dir}
336336
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)