From 5583442ee74a750ba7cc986ab98afd67d9a92953 Mon Sep 17 00:00:00 2001 From: jacy-dukang Date: Mon, 6 Jul 2026 16:38:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=20webhook=20secret?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/auto-release.env | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 deploy/auto-release.env diff --git a/deploy/auto-release.env b/deploy/auto-release.env new file mode 100644 index 0000000..1ddaa5d --- /dev/null +++ b/deploy/auto-release.env @@ -0,0 +1,15 @@ +# 复制为 auto-release.env(勿提交 Git) +# 服务器路径: /opt/dukang-haoke/deploy/auto-release.env + +APP_ROOT=/opt/dukang-haoke +GIT_REMOTE=origin +GIT_BRANCH=dev +DEPLOY_GIT_REF=refs/heads/dev + +# Webhook 密钥(CodeUp 配置「Secret Token」时使用同一值) +DEPLOY_WEBHOOK_SECRET=f85777004ea4435bf8b4d5813de8255d286a85d34ce2b30a + +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