diff --git a/.gitea/workflows/secrets.yml b/.gitea/workflows/secrets.yml index d8e2330..8599b9a 100644 --- a/.gitea/workflows/secrets.yml +++ b/.gitea/workflows/secrets.yml @@ -3,7 +3,7 @@ name: Secrets MCP — Build & Release on: push: - branches: [main, feat/mcp] + branches: [main, feat/mcp, mcp] paths: - 'crates/**' - 'Cargo.toml' @@ -250,7 +250,7 @@ jobs: # Google OAuth / SERVER_MASTER_KEY / SECRETS_DATABASE_URL 等勿写入 CI,请在 ECS 上 # /opt/secrets-mcp/.env 配置(见 deploy/.env.example)。 # 若仓库 main 仍为纯 CLI、仅 feat/mcp 含本 workflow,请去掉条件里的 main,避免误部署。 - if: needs.build-linux.result == 'success' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feat/mcp') + if: needs.build-linux.result == 'success' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feat/mcp' || github.ref == 'refs/heads/mcp') runs-on: debian timeout-minutes: 10 steps: