chore: track Linux deploy scripts with forced git pull

Ship start/restart/pull-and-restart and deploy lib so production can one-line update; git_pull_hard uses checkout -f, restart --pull aligns then restarts.
This commit is contained in:
whm
2026-08-05 14:45:06 +08:00
parent 3c9fe46359
commit f90245db9c
6 changed files with 580 additions and 8 deletions

11
.gitignore vendored
View File

@@ -22,13 +22,7 @@ ai-service/.env
# 本地意见稿 / 不入库
database_fastapi修改意见.md
# 一键部署脚本(本机/运维侧保留,不推远程)
start.sh
stop.sh
restart.sh
pull-and-restart.sh
reload-config.sh
deploy-menu.sh
# Windows 本机启动脚本不入库Linux 一键脚本入库以便生产 pull 更新
start.bat
start.ps1
stop.bat
@@ -36,6 +30,7 @@ stop.ps1
restart.bat
restart.ps1
start-host.ps1
scripts/lib-aijz-deploy.sh
deploy-menu.sh
reload-config.sh
scripts/linux/