Files
dukang/deploy/auto-release.env.example
T
jacy 6c6fb10490
CI / verify (pull_request) Has been cancelled
fix(deploy): correct APP_ROOT to /opt/dukang
Server path is /opt/dukang; stale /opt/dukang-haoke broke PM2 cwd for mini-user H5.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 10:10:35 +08:00

23 lines
808 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 auto-release.env(勿提交 Git
# 服务器路径: /opt/dukang/deploy/auto-release.env
APP_ROOT=/opt/dukang
GIT_REPO_URL=git@git.yqidian.com:jacy/dukang.git
GIT_REMOTE=origin
GIT_BRANCH=dev
DEPLOY_GIT_REF=refs/heads/dev
# Webhook 密钥(CodeUp 配置「Secret Token」时使用同一值)
DEPLOY_WEBHOOK_SECRET=change-me-to-a-long-random-string
DEPLOY_WEBHOOK_HOST=127.0.0.1
DEPLOY_WEBHOOK_PORT=8095
DEPLOY_LOG_FILE=/var/log/dukang/deploy.log
DEPLOY_LOCK_FILE=/var/run/dukang-deploy.lock
# Prisma db push 遇到 schema 变更警告时自动继续(开发/测试环境可开)
PRISMA_ACCEPT_DATA_LOSS=true
# 注意:Admin「发布更新」读取的是 server/dukang-api/.env.production 中的
# DEPLOY_WEBHOOK_URL / DEPLOY_WEBHOOK_SECRET,须与下方 DEPLOY_WEBHOOK_SECRET 一致