diff --git a/src/docs/deployment.md b/src/docs/deployment.md index 047babc458..31b17df20f 100644 --- a/src/docs/deployment.md +++ b/src/docs/deployment.md @@ -218,30 +218,32 @@ jobs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: "18" + node-version: '24' - name: Persist npm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- - name: Persist Eleventy .cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./.cache key: ${{ runner.os }}-eleventy-fetch-cache - - run: npm install + - run: npm ci - run: npm run build-ghpages - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }}