chore: update deploy logic (#22189)

chore: update deploy
This commit is contained in:
0song
2025-09-16 20:25:46 +08:00
committed by GitHub
parent eef0aed8bc
commit bcb395da5e
4 changed files with 20 additions and 49 deletions

View File

@@ -69,7 +69,7 @@ jobs:
git-config-email: element-plus@outlook.com
commit-message: website deploy
- name: Deploy to vercel
- name: Deploy to Vercel
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
token: ${{ secrets.EP_BOT_TOKEN }}
@@ -79,7 +79,12 @@ jobs:
git-config-name: ElementPlusBot
git-config-email: element-plus@outlook.com
- name: Sync
env:
TRIGGERSYNCURL: ${{ secrets.TRIGGERSYNCURL }}
run: curl -k "$TRIGGERSYNCURL"
- name: Deploy to Vercel Main
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
token: ${{ secrets.EP_BOT_TOKEN }}
branch: main
folder: docs/.vitepress/dist
repository-name: element-plus/vercel-publish-main
git-config-name: ElementPlusBot
git-config-email: element-plus@outlook.com

View File

@@ -76,7 +76,7 @@ jobs:
git-config-email: element-plus@outlook.com
commit-message: website deploy
- name: Deploy to vercel
- name: Deploy to Vercel
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
token: ${{ secrets.EP_BOT_TOKEN }}
@@ -86,7 +86,12 @@ jobs:
git-config-name: ElementPlusBot
git-config-email: element-plus@outlook.com
- name: Sync
env:
TRIGGERSYNCURL: ${{ secrets.TRIGGERSYNCURL }}
run: curl -k "$TRIGGERSYNCURL"
- name: Deploy to Vercel Main
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
token: ${{ secrets.EP_BOT_TOKEN }}
branch: main
folder: docs/.vitepress/dist
repository-name: element-plus/vercel-publish-main
git-config-name: ElementPlusBot
git-config-email: element-plus@outlook.com