forked from 77media/video-flow
恢复当前环境变量配置
This commit is contained in:
parent
e6a3916f66
commit
2cdc595f34
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user