mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-28 11:16:37 +08:00
Update Auto-docker-publish workflow triggers
Removed workflow_run trigger and added push and pull_request triggers for main branch.
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
name: AuTo Docker Image
|
||||
|
||||
|
||||
on:
|
||||
# CI 成功完成后自动触发
|
||||
workflow_run:
|
||||
workflows: ["CI"] # 对应你的 CI workflow 名称
|
||||
types:
|
||||
- completed
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
# 保留手动触发作为备选
|
||||
workflow_dispatch:
|
||||
|
||||
Reference in New Issue
Block a user