From 7bd0fa2b35658a86dad799ee0f9ef8359a9c94d4 Mon Sep 17 00:00:00 2001 From: H2Sxxa Date: Thu, 25 Jul 2024 17:50:09 +0800 Subject: [PATCH] Update pages.yml --- .github/workflows/pages.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index d85faa4..27830c9 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -11,14 +11,14 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v2 - - name: Use Node.js 16.x - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "20" - name: Cache NPM dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.OS }}-npm-cache @@ -32,7 +32,7 @@ jobs: run: npm run build - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public