]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
update github deploy workflow
authorCameron Otsuka <cameron@otsuka.haus>
Tue, 24 Dec 2024 01:33:35 +0000 (17:33 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Tue, 24 Dec 2024 01:33:35 +0000 (17:33 -0800)
.github/workflows/deploy-to-ghpages.yml

index 1beadd4b3213713a3fe5cd0772a709e0be64d5b9..4fb7e48f825b248d15d32ca7ab83ba21a4776b9e 100644 (file)
@@ -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 }}