| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| systemd | ||
| README.md | ||
| deploy-prod.sh | ||
| deploy.sh | ||
| first-import.sh | ||
| gen-env.sh |
deploy-prod.sh 原写死 git pull origin main。改为 BRANCH=${DEPLOY_BRANCH:-当前分支}:
生产机停 main、测试机停 test 即各自部署对应分支;可用 DEPLOY_BRANCH 覆盖。
拉取改 fetch+checkout+ff-only(有分歧仍失败退出,不静默 reset)。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| systemd | Loading commit data... | |
| README.md | Loading commit data... | |
| deploy-prod.sh | Loading commit data... | |
| deploy.sh | Loading commit data... | |
| first-import.sh | Loading commit data... | |
| gen-env.sh | Loading commit data... |