From 96e48da076b86b475948a930ab5f60abe5961d77 Mon Sep 17 00:00:00 2001 From: Gk0Wk Date: Wed, 6 Dec 2023 13:14:15 +0800 Subject: [PATCH] . --- .github/workflows/gh-pages.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 1dbb451..fd8da83 100755 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -46,13 +46,8 @@ jobs: pnpm run publish mv offline.html ./dist/offline.html - - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 with: - # Upload entire repository - path: ./dist - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist