Skip to content

Commit b23ce12

Browse files
committed
ci(docs): pass github token to docs builds
1 parent 6c19358 commit b23ce12

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ jobs:
9696
DOCS_V2_ORIGIN: https://v2.element-plus-x.com
9797
DOCS_ROOT_ORIGIN: https://element-plus-x.com
9898
DOCS_USE_SOURCE: 'true'
99+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99101
run: pnpm run build:docs
100102

101103
- name: Setup SSH

.github/workflows/docs-deploy-verify.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
DOCS_V2_ORIGIN: https://v2.element-plus-x.com
6868
DOCS_ROOT_ORIGIN: https://element-plus-x.com
6969
DOCS_USE_SOURCE: 'true'
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7072
run: pnpm run build:docs
7173

7274
- name: Resolve verify path

0 commit comments

Comments
 (0)