Skip to content

Commit 0ec9cf0

Browse files
committed
mod(ci): docker lite build
1 parent af413c9 commit 0ec9cf0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

entrypoint-lite.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#/bin/bash
22

3-
4-
5-
#/bin/bash
6-
73
# 替换.env文件中的MAIN_URLS
84
if [ -z "${OPLIST_MAIN_URLS}" ]; then
95
echo "MAIN_URLS is not set, skipping replacement."
@@ -150,7 +146,7 @@ fi
150146

151147
# 执行npm run dev
152148
echo "Starting wrangler dev..."
153-
npm run dev-js
149+
npm run build-js && npm run deploy-js
154150
if [ $? -ne 0 ]; then
155151
echo "wrangler dev failed, exiting."
156152
exit 1

0 commit comments

Comments
 (0)