diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 9578c8b8..6e1cf5b7 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -47,13 +47,19 @@ jobs: - name: Build run: pnpm run build - - name: Setup Pages - uses: actions/configure-pages@v3 - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 +# - name: Setup Pages +# uses: actions/configure-pages@v3 +# - name: Upload artifact +# uses: actions/upload-pages-artifact@v1 +# with: +# # Upload dist repository +# path: './dist' +# - name: Deploy to GitHub Pages +# id: deployment +# uses: actions/deploy-pages@v1 + + - name: Deploy to gh-pages + uses: peaceiris/actions-gh-pages@v3 with: - # Upload dist repository - path: './dist' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + publish_dir: ./dist \ No newline at end of file