From: Cameron Otsuka Date: Tue, 24 Dec 2024 01:33:35 +0000 (-0800) Subject: update github deploy workflow X-Git-Tag: v1.0.0~65 X-Git-Url: https://git.otsuka.systems/?a=commitdiff_plain;h=2f928cd16c4e0ff861b2b8f4b6184d0be001a069;p=cotsuka.github.io update github deploy workflow --- diff --git a/.github/workflows/deploy-to-ghpages.yml b/.github/workflows/deploy-to-ghpages.yml index 1beadd4..4fb7e48 100644 --- a/.github/workflows/deploy-to-ghpages.yml +++ b/.github/workflows/deploy-to-ghpages.yml @@ -14,15 +14,15 @@ 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: "23" - name: Persist npm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -31,7 +31,7 @@ jobs: - 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 }}