From f0d9fe6991be923c25f6577cd8008356ac04af3d Mon Sep 17 00:00:00 2001 From: zyronon Date: Mon, 16 Oct 2023 02:19:42 +0800 Subject: [PATCH] update --- .github/workflows/deploy-pages.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) 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