Skip to content

Commit 96f0a5c

Browse files
fix(deploy): enable versioned UI builds in deployment script (#1047)
1 parent 49ed6e7 commit 96f0a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/deploy_cloud_app.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ npm ci
3333

3434
# Build versioned app
3535
msg_info "Building cloud app /v/${VERSION}/..."
36-
npm run build:prod -- --base=/v/${VERSION}/ --outDir dist/v/${VERSION}
36+
VITE_CLOUD_ENABLE_VERSIONED_UI=true npm run build:prod -- --base=/v/${VERSION}/ --outDir dist/v/${VERSION}
3737

3838
# Build root app if --set-as-default
3939
if [ "$SET_AS_DEFAULT" = true ]; then
4040
msg_info "Building root cloud app..."
41-
npm run build:prod -- --outDir dist/root
41+
VITE_CLOUD_ENABLE_VERSIONED_UI=true npm run build:prod -- --outDir dist/root
4242
fi
4343

4444
# Confirmation

0 commit comments

Comments
 (0)