From 1ea9fa56d0c51f597fe758692ff2c246695b3bc6 Mon Sep 17 00:00:00 2001 From: Harrisoff Date: Sun, 1 Dec 2024 00:08:59 +0800 Subject: [PATCH] fix github workflow --- .github/workflows/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index d136cbc..bdbe563 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -7,7 +7,7 @@ on: jobs: deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js @@ -19,7 +19,7 @@ jobs: - name: build run: npm run build - name: deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: - github_token: ${{ secrets.GIT_HUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist