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