mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-18 10:59:10 +08:00
ci: use latest element-plus for docs:build (#3584)
This commit is contained in:
parent
fcbd9be11b
commit
68c5d28fb4
5
.github/workflows/master-deploy.yml
vendored
5
.github/workflows/master-deploy.yml
vendored
@ -31,11 +31,14 @@ jobs:
|
||||
CROWDIN_TOKEN: ${{secrets.CROWDIN_TOKEN}}
|
||||
|
||||
- name: Pull Crowdin translations
|
||||
run: cd docs && pnpx crowdin download
|
||||
run: cd docs && pnpm exec crowdin download
|
||||
|
||||
- name: Generate common locale
|
||||
run: pnpm docs:gen-locale
|
||||
|
||||
- name: Install latest Element Plus
|
||||
run: cd docs && pnpm i element-plus@latest
|
||||
|
||||
- name: Build website
|
||||
run: pnpm docs:build
|
||||
env:
|
||||
|
4
.github/workflows/staging-preview.yml
vendored
4
.github/workflows/staging-preview.yml
vendored
@ -36,10 +36,10 @@ jobs:
|
||||
CROWDIN_TOKEN: ${{secrets.CROWDIN_TOKEN}}
|
||||
|
||||
- name: Upload source files
|
||||
run: cd docs && pnpx crowdin upload sources
|
||||
run: cd docs && pnpm exec crowdin upload sources
|
||||
|
||||
- name: Pull Crowdin translations
|
||||
run: cd docs && pnpx crowdin download
|
||||
run: cd docs && pnpm exec crowdin download
|
||||
|
||||
- name: Generate common locale
|
||||
run: pnpm docs:gen-locale
|
||||
|
Loading…
Reference in New Issue
Block a user