Skip to content

Commit a61abc3

Browse files
authored
fix: fix tiny-vue playground error and tiny-vue-saas error after deploy obs (#3856)
1 parent 4a7ce40 commit a61abc3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 3 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,8 @@ 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/
46+
VITE_PLAYGROUND_URL: /vue-saas-playground
4547
VITE_APP_BUILD_BASE_URL: //opentiny-assets.obs.cn-north-4.myhuaweicloud.com/tiny-vue-saas/${{ env.VERSION }}/
4648
- name: Copy files
4749
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)