ci: 触发分支改为 main(提交或合并入 main 才部署)

- deploy.yml 触发条件 dev → main;PR 合并进 main 产生的 push 同样覆盖
- 文档同步:日常开发走 dev,合并 main 才上线

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Blizzard
2026-07-17 13:43:46 +08:00
parent a6257d2fc4
commit 41f3fb7fb0
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
name: build-and-deploy
on:
# 仅 main 有提交(含 PR 合并入 main)时触发
push:
branches: [dev]
branches: [main]
workflow_dispatch:
env: