From 96bb1507584b736d3891f316ac6aa5321131418a Mon Sep 17 00:00:00 2001 From: Ackerley Tng Date: Mon, 1 Apr 2024 10:42:14 +0800 Subject: [PATCH] Update GitHub actions in workflow --- .github/workflows/deploy-to-github-pages.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-to-github-pages.yaml b/.github/workflows/deploy-to-github-pages.yaml index d223322..3e1809f 100644 --- a/.github/workflows/deploy-to-github-pages.yaml +++ b/.github/workflows/deploy-to-github-pages.yaml @@ -29,9 +29,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' @@ -40,12 +40,12 @@ jobs: - name: Build run: npm run build - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: # Upload dist repository path: './dist' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4