diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml deleted file mode 100644 index 5196d85b..00000000 --- a/.github/workflows/deploy-gh-pages.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: - - master - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Install Bun - uses: oven-sh/setup-bun@v2 - - - name: Install dependencies with Bun - run: bun install - - - name: Build project - run: bun run build - - - name: Deploy to GitHub 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