ci(deploy): deploy images over ssh from gitea actions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# ==========================================
|
||||
# 生产环境 Web 部署脚本(Next.js + git push 模型)
|
||||
# 生产环境 Web 部署脚本(Next.js + Gitea Actions SSH 部署模型)
|
||||
# 原始 Dart: scripts/deploy/deploy_web.sh
|
||||
# ==========================================
|
||||
|
||||
@@ -11,8 +11,8 @@ source "$SCRIPT_DIR/_deploy_lib.sh"
|
||||
|
||||
# 主函数
|
||||
main() {
|
||||
push_to_remote "production" "main"
|
||||
purge_cdn_cache
|
||||
push_to_remote "gitea" "main"
|
||||
# NEW_VERSION=$(bump_version)
|
||||
}
|
||||
|
||||
main
|
||||
|
||||
Reference in New Issue
Block a user