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 }}