Skip to content

Commit e5f8d17

Browse files
committed
fix: fix tiny-vue playground error and tiny-vue-saas error after deploy obs
1 parent bb8ccfd commit e5f8d17

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/deploy-obs-saas.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy to Huawei OBS
1+
name: Deploy to Huawei OBS SaaS
22

33
on:
44
push:
@@ -42,6 +42,7 @@ jobs:
4242
export NODE_OPTIONS="--max-old-space-size=8192"
4343
pnpm -F @opentiny/vue-docs build:saas
4444
env:
45+
VITE_CONTEXT: /tiny-vue-saas/
4546
VITE_APP_BUILD_BASE_URL: //opentiny-assets.obs.cn-north-4.myhuaweicloud.com/tiny-vue-saas/${{ env.VERSION }}/
4647
- name: Copy files
4748
run: |

.github/workflows/deploy-obs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
pnpm build:site
4444
env:
4545
VITE_APP_BUILD_BASE_URL: //opentiny-assets.obs.cn-north-4.myhuaweicloud.com/tiny-vue-web-doc/${{ env.VERSION }}/
46+
VITE_PLAYGROUND_URL: /vue-playground
4647
- name: Copy files
4748
run: |
4849
cp ./examples/sites/dist/index.html ./examples/sites/dist/404.html

0 commit comments

Comments
 (0)