diff --git a/.github/workflows/website-deploy.yaml b/.github/workflows/website-deploy.yaml index cf219309..9c7c327d 100644 --- a/.github/workflows/website-deploy.yaml +++ b/.github/workflows/website-deploy.yaml @@ -11,13 +11,15 @@ jobs: deploy: name: Deploy to GitHub Pages runs-on: ubuntu-latest + permissions: + contents: write defaults: run: shell: bash working-directory: website steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 20 cache: npm @@ -31,6 +33,8 @@ jobs: # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true with: github_token: ${{ secrets.GITHUB_TOKEN }} # Build output to publish to the `gh-pages` branch: diff --git a/.github/workflows/website-test-deploy.yml b/.github/workflows/website-test-deploy.yml index 951d74ae..52c2a330 100644 --- a/.github/workflows/website-test-deploy.yml +++ b/.github/workflows/website-test-deploy.yml @@ -17,8 +17,8 @@ jobs: shell: bash working-directory: website steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 20 cache: npm