diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 64cf229..8aeb250 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -25,11 +25,11 @@ jobs: - name: Build directory run: pnpm run vite:directory:build - name: Deploy - uses: s0/git-publish-subdir-action@develop - env: - REPO: self - BRANCH: gh-pages - FOLDER: release - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CLEAR_GLOBS_FILE: ".gh-pages-clear-rules" - SKIP_EMPTY_COMMITS: true + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./release + cname: arknights.halyul.dev + allow_empty_commit: true + user_name: 'github-actions[bot]' + user_email: 'github-actions[bot]@users.noreply.github.com'