Skip to content

Commit c005f5e

Browse files
committed
fix: fix deploy obs
1 parent c8eeec3 commit c005f5e

File tree

4 files changed

+4358
-3533
lines changed

4 files changed

+4358
-3533
lines changed

.github/workflows/deploy-obs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
else
5151
VERSION="$(node -p "require('./template/tinyvue/package.json').version")"
5252
fi
53-
echo "Home version: $VERSION"
53+
echo "version: $VERSION"
5454
echo "value=$VERSION" >> $GITHUB_OUTPUT
5555
- name: Build site
5656
run: |
@@ -59,7 +59,9 @@ jobs:
5959
env:
6060
VITE_BASE: //res-static.opentiny.design/tiny-pro-vue/${{ steps.ver.outputs.value }}/vue-pro/pages/
6161
VITE_OUT_DIR: ../dist/vue-pro/pages
62+
VITE_CONTEXT: /vue-pro/pages/
6263
VITE_BASE_API: /tiny-pro-vue/api
64+
VITE_MOCK_SERVER_HOST: /tiny-pro-vue/api/mock
6365
- name: Copy files
6466
run: |
6567
cp ./template/tinyvue/dist/vue-pro/pages/index.html ./template/tinyvue/dist/vue-pro/pages/404.html

0 commit comments

Comments
 (0)