Skip to content

Commit b52b003

Browse files
committed
ci: upgrade Pages action runtimes
1 parent ea69b31 commit b52b003

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ jobs:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
steps:
1616
- name: "Checkout source code"
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v7
1818
with:
1919
submodules: recursive # Fetch the Docsy theme
2020
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2121

2222
- name: "Setup Hugo"
23-
uses: peaceiris/actions-hugo@v2
23+
uses: peaceiris/actions-hugo@v3
2424
with:
2525
hugo-version: '0.145.0'
2626
extended: true
2727

2828
- name: "Setup Node"
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@v6
3030
with:
31-
node-version: '20'
31+
node-version: '22'
3232
cache: 'npm'
3333

3434
- name: "Install project dependencies"
@@ -44,7 +44,7 @@ jobs:
4444
run: hugo --gc --minify --destination docs
4545

4646
- name: "Deploy"
47-
uses: peaceiris/actions-gh-pages@v3
47+
uses: peaceiris/actions-gh-pages@v4
4848
if: ${{ github.ref == 'refs/heads/master' }} # Deploy in master branch only
4949
with:
5050
github_token: ${{ secrets.GITHUB_TOKEN }}

docs/maintenance/2026-06-27-capa-io-triage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
- Corrected npm repository, issue, and homepage metadata.
1616
- Migrated deprecated Docsy settings, removed the fake Universal Analytics ID, and removed a duplicate blog menu declaration.
1717
- Scoped gitleaks away from the pinned Docsy submodule, whose upstream search documentation contains example keys.
18+
- Updated checkout, Node setup, Hugo, and Pages actions to their current Node 24-based major versions; the build runtime now uses Node 22 to satisfy Docsy's engine requirement.
1819

1920
## Validation
2021

2122
- Hugo 0.145.0 official container build: 300 pages and 408 output files generated successfully.
2223
- A second production build completed without Hugo/Docsy configuration warnings.
2324
- `gitleaks dir . --no-banner --redact`: passed.
25+
- GitHub Pages workflow: passed on the exact dependency-fix commit after the action runtime upgrade.
2426

2527
## Follow-Up
2628

0 commit comments

Comments
 (0)