Skip to content

Commit 9a641a1

Browse files
committed
try to update workflow
1 parent 3f8cbe7 commit 9a641a1

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/deploy github pages.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0 # Fetch all history for git info
2424

25-
- uses: actions/setup-node@v5
25+
- uses: actions/setup-node@v6
2626
with:
27-
node-version: 22
27+
node-version: 24
2828

2929
- name: Set CACHE_CLEAR variable
3030
run: echo "CACHE_CLEAR=$(date +%s)" >> $GITHUB_ENV
@@ -52,7 +52,7 @@ jobs:
5252

5353
# --- Upload site ---
5454
- name: Upload artifact
55-
uses: actions/upload-pages-artifact@v3
55+
uses: actions/upload-pages-artifact@v4
5656
with:
5757
path: public
5858

@@ -65,7 +65,7 @@ jobs:
6565
steps:
6666
- name: Deploy to GitHub Pages
6767
id: deployment
68-
uses: actions/deploy-pages@v4
68+
uses: actions/deploy-pages@v5
6969

7070
# Give GitHub Pages a moment to accept the deployment and populate page_url
7171
- name: Wait a little for Pages to become reachable
@@ -77,7 +77,6 @@ jobs:
7777
done
7878
7979
# Trigger a Pages rebuild (this requests GitHub Pages to rebuild the site and helps purge CDN)
80-
# Poll for Pages published URL instead of calling Pages builds API (some repos return 403)
8180
- name: Poll for Pages published URL
8281
run: |
8382
echo "Polling for published URL from deploy step..."

0 commit comments

Comments
 (0)