From 4d93059cbd319a8e7595a271ecb2b973170be756 Mon Sep 17 00:00:00 2001 From: Aaron Date: Thu, 12 Dec 2024 21:48:52 +0800 Subject: [PATCH] chore: update site branch to gh-pages (#6633) --- .github/workflows/deploy.yml | 2 +- packages/site/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6d1ecd3941a..c074ae8c4f2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,5 +35,5 @@ jobs: with: github_token: ${{secrets.PERSONAL_ACCESS_TOKEN}} directory: ./packages/site/dist - branch: v5-site + branch: gh-pages force: true diff --git a/packages/site/package.json b/packages/site/package.json index 8309a5ad3a4..a40c1f8fb20 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -26,7 +26,7 @@ "scripts": { "build": "npm run doc && dumi build", "build:memo": "node --expose-gc --max-old-space-size=32768 ./node_modules/dumi/bin/dumi build", - "deploy": "gh-pages -d dist -b v5-site", + "deploy": "gh-pages -d dist", "dev": "dumi dev", "doc": "ts-node ./scripts/generate-api.ts && ts-node ./scripts/generate-doc.ts", "doc:add": "node ./scripts/doc-template.mjs",