From 2cdc595f349442789fffcfb079a87845fa870f65 Mon Sep 17 00:00:00 2001 From: moux1024 <403053463@qq.com> Date: Mon, 29 Sep 2025 15:59:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=BD=93=E5=89=8D=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 20 ++++++++++---------- compile_dev.sh | 4 ++-- compile_prod.sh | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.env.production b/.env.production index 24e6f58..1720734 100644 --- a/.env.production +++ b/.env.production @@ -1,16 +1,16 @@ # 测试 -# NEXT_PUBLIC_JAVA_URL = https://auth.test.movieflow.ai -# NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com -# NEXT_PUBLIC_CUT_URL = https://77.smartcut.py.qikongjian.com -# NEXT_PUBLIC_GOOGLE_REDIRECT_URI=https://www.movieflow.net/api/auth/google/callback -# NEXT_PUBLIC_CUT_URL_TO = https://smartcut.huiying.video +NEXT_PUBLIC_JAVA_URL = https://auth.test.movieflow.ai +NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com +NEXT_PUBLIC_CUT_URL = https://77.smartcut.py.qikongjian.com +NEXT_PUBLIC_GOOGLE_REDIRECT_URI=https://www.movieflow.net/api/auth/google/callback +NEXT_PUBLIC_CUT_URL_TO = https://smartcut.huiying.video # 生产 -NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai -NEXT_PUBLIC_BASE_URL = https://api.video.movieflow.ai -NEXT_PUBLIC_CUT_URL = https://smartcut.api.movieflow.ai -NEXT_PUBLIC_GOOGLE_REDIRECT_URI=https://www.movieflow.ai/api/auth/google/callback -NEXT_PUBLIC_CUT_URL_TO = https://smartcut.movieflow.ai +# NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai +# NEXT_PUBLIC_BASE_URL = https://api.video.movieflow.ai +# NEXT_PUBLIC_CUT_URL = https://smartcut.api.movieflow.ai +# NEXT_PUBLIC_GOOGLE_REDIRECT_URI=https://www.movieflow.ai/api/auth/google/callback +# NEXT_PUBLIC_CUT_URL_TO = https://smartcut.movieflow.ai # 通用 # 当前域名配置 NEXT_PUBLIC_FRONTEND_URL = https://www.movieflow.ai diff --git a/compile_dev.sh b/compile_dev.sh index 1dc7d07..22b2adc 100755 --- a/compile_dev.sh +++ b/compile_dev.sh @@ -38,9 +38,9 @@ if [ "$current_branch" = "$BRANCH_NAME" ]; then echo "On dev branch, building project..." | tee -a $LOGFILE PROFILE_ENV=$BRANCH_NAME - # 安装依赖并构建(通过 env-cmd 注入 .env.development 与 NODE_ENV) + # 安装依赖并构建 yarn install - npx --yes env-cmd -f .env.development bash -lc 'export NODE_ENV=development; yarn build' + yarn build # 准备dist目录 mkdir -p dist diff --git a/compile_prod.sh b/compile_prod.sh index 5cb6d9c..b0b23a1 100755 --- a/compile_prod.sh +++ b/compile_prod.sh @@ -38,9 +38,9 @@ if [ "$current_branch" = "$BRANCH_NAME" ]; then echo "On prod branch, building project..." | tee -a $LOGFILE PROFILE_ENV=$BRANCH_NAME - # 安装依赖并构建(通过 env-cmd 注入 .env.production 与 NODE_ENV) + # 安装依赖并构建 yarn install - npx --yes env-cmd -f .env.production bash -lc 'export NODE_ENV=production; yarn build' + yarn build # 准备dist目录 mkdir -p dist