From 67a842f46258e1f6cdf8024a5fd25901c84cc53b Mon Sep 17 00:00:00 2001 From: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com> Date: Fri, 29 Apr 2022 22:41:02 +0800 Subject: [PATCH] chore(build): doc products to individual repo (#7443) - Push doc build products to individual repo. --- .github/workflows/publish-docs-deploy-manual.yml | 10 ++++++++++ .github/workflows/publish-docs-deploy.yml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/.github/workflows/publish-docs-deploy-manual.yml b/.github/workflows/publish-docs-deploy-manual.yml index 9f0681500e..5de68a31ab 100644 --- a/.github/workflows/publish-docs-deploy-manual.yml +++ b/.github/workflows/publish-docs-deploy-manual.yml @@ -68,6 +68,16 @@ jobs: git-config-email: hello@element-plus.org commit-message: website deploy + - name: Deploy to vercel + uses: JamesIves/github-pages-deploy-action@v4.3.0 + with: + token: ${{ secrets.EP_BOT_TOKEN }} + branch: main + folder: docs/.vitepress/dist + repository-name: element-plus/vercel-publish + git-config-name: ElementPlusBot + git-config-email: hello@element-plus.org + - name: Sync env: TRIGGERSYNCURL: ${{ secrets.TRIGGERSYNCURL }} diff --git a/.github/workflows/publish-docs-deploy.yml b/.github/workflows/publish-docs-deploy.yml index 5b62d5844e..c63b7e586e 100644 --- a/.github/workflows/publish-docs-deploy.yml +++ b/.github/workflows/publish-docs-deploy.yml @@ -75,6 +75,16 @@ jobs: git-config-email: hello@element-plus.org commit-message: website deploy + - name: Deploy to vercel + uses: JamesIves/github-pages-deploy-action@v4.3.0 + with: + token: ${{ secrets.EP_BOT_TOKEN }} + branch: main + folder: docs/.vitepress/dist + repository-name: element-plus/vercel-publish + git-config-name: ElementPlusBot + git-config-email: hello@element-plus.org + - name: Sync env: TRIGGERSYNCURL: ${{ secrets.TRIGGERSYNCURL }}