From 2f928cd16c4e0ff861b2b8f4b6184d0be001a069 Mon Sep 17 00:00:00 2001 From: Cameron Otsuka Date: Mon, 23 Dec 2024 17:33:35 -0800 Subject: [PATCH] update github deploy workflow --- .github/workflows/deploy-to-ghpages.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }} -- 2.51.0