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:
11
.gitignore
vendored
11
.gitignore
vendored
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user