From 8cab16761f8b9a8be8cafda4b7b3c7b8cd635b16 Mon Sep 17 00:00:00 2001 From: npmrun <1549469775@qq.com> Date: Wed, 29 Apr 2026 15:34:39 +0800 Subject: [PATCH] fix(deploy): include .drone.yml in deployment artifacts - Added a step to copy the .drone.yml configuration file to the temporary distribution directory during the deployment process. - This change ensures that the necessary Drone configuration is included with the deployment artifacts, improving the deployment workflow. --- scripts/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 73ac856..f34992d 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -25,6 +25,7 @@ git clone --single-branch --branch $PROD_BRANCH $GIT_REPO_URL .tmp_dist || { # 3. 删除旧产物,复制新产物 echo "♻️ 更新产物文件..." rm -rf .tmp_dist/* +cp -r $BUILD_FOLDER/.drone.yml .tmp_dist/.drone.yml cp -r $BUILD_FOLDER/* .tmp_dist/ # 4. 提交并推送