From b145782a8988da3ae647bcba0110c1270bccea0c Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 4 Jul 2025 16:48:15 +0800 Subject: [PATCH] Update deploy-gh-pages.yml --- .github/workflows/deploy-gh-pages.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 23320233..5196d85b 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -23,6 +23,9 @@ jobs: run: bun run build - name: Deploy to GitHub Pages - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: bun run gh-pages + uses: peaceiris/actions-gh-pages@v4 + if: github.ref == 'refs/heads/master' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist + cname: preview.pro.ant.design