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. 提交并推送