wuzj 2 months ago
parent
commit
d12f65b376
1 changed files with 1 additions and 1 deletions
  1. 1 1
      webhook/webhook.py

+ 1 - 1
webhook/webhook.py

@@ -16,7 +16,7 @@ def webhook():
     if branch.endswith('main'):  # 检查是否是 main 分支
         try:
             # 执行部署脚本
-            deploy_script = "/Users/youruser/go-msa-auth/deploy.sh"
+            deploy_script = "/Users/zejiawu/go-msa-auth/deploy.sh"
             result = subprocess.run([deploy_script], shell=True, capture_output=True, text=True)
             return f"Deployment triggered:\n{result.stdout}", 200
         except Exception as e: