From 39eb937f15950035058eb8812dd21627e1e79db5 Mon Sep 17 00:00:00 2001 From: Northword <44738481+northword@users.noreply.github.com> Date: Mon, 4 Sep 2023 00:47:32 +0800 Subject: [PATCH] ci: change deploy action --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f89368..f572ada 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,10 +43,8 @@ jobs: npm run build - name: Deploy 🚀 - uses: peaceiris/actions-gh-pages@v3.7.3 + uses: JamesIves/github-pages-deploy-action@v4 with: - # github_token: ${{ secrets.ACCESS_TOKEN }} - publish_dir: dist - commit_message: ${{ github.event.head_commit.message }} - # keep_files: false - force_orphan: true + branch: gh-pages + folder: dist + single-commit: true