fix(deploy): run DB sync by default when release args omitted
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-1
@@ -169,10 +169,11 @@ git fetch "\$GIT_REMOTE"
|
||||
git checkout "\$GIT_BRANCH"
|
||||
git pull --ff-only "\$GIT_REMOTE" "\$GIT_BRANCH"
|
||||
|
||||
# 无额外参数时执行 DB 同步;无 schema 变更请显式传 -- --skip-db
|
||||
if [[ -n "\$RELEASE_ARGS" ]]; then
|
||||
bash deploy/remote-release.sh \$RELEASE_ARGS
|
||||
else
|
||||
bash deploy/remote-release.sh --skip-db
|
||||
bash deploy/remote-release.sh
|
||||
fi
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user