Skip to content

Commit b54fb90

Browse files
committed
Force actions/deploy-pages@v4 to use node24
1 parent 12a7c71 commit b54fb90

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,17 @@ jobs:
6161
runs-on: ubuntu-latest
6262
needs: build
6363
steps:
64+
- name: Force node24
65+
run: |
66+
: Force node24
67+
deploy_pages_action=../../_actions/actions/deploy-pages/v4/action.yml
68+
if [ -e "$deploy_pages_action" ]; then
69+
perl -pi -e s/node20/node24/g "$deploy_pages_action"
70+
fi
71+
6472
- name: Deploy to GitHub Pages
6573
id: deployment
6674
uses: actions/deploy-pages@v4
67-
env:
68-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
6975

7076
check-links:
7177
name: Check links

0 commit comments

Comments
 (0)