From 915166c8156f9db05a228afc1973261f83fa7e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Fri, 22 Apr 2022 14:08:08 +0800 Subject: [PATCH] ci: upload element plus build bundle (#7327) --- .github/workflows/pr-docs-build.yml | 4 ++++ docs/public/CORS | 1 + 2 files changed, 5 insertions(+) create mode 100644 docs/public/CORS diff --git a/.github/workflows/pr-docs-build.yml b/.github/workflows/pr-docs-build.yml index fe4c175039..c89f5fe27a 100644 --- a/.github/workflows/pr-docs-build.yml +++ b/.github/workflows/pr-docs-build.yml @@ -58,6 +58,10 @@ jobs: env: DOC_ENV: preview + - name: Move bundle to docs dist + if: matrix.os == 'ubuntu-latest' + run: mkdir docs/.vitepress/dist/bundle && mv dist/element-plus/dist/*.* docs/.vitepress/dist/bundle + # share website dist - name: Upload artifact if: matrix.os == 'ubuntu-latest' diff --git a/docs/public/CORS b/docs/public/CORS new file mode 100644 index 0000000000..72e8ffc0db --- /dev/null +++ b/docs/public/CORS @@ -0,0 +1 @@ +*