Merge branch 'main' of https://github.com/zeroornull/my-docs
This commit is contained in:
5
.github/workflows/buidl_and_push_ghcr.yml
vendored
5
.github/workflows/buidl_and_push_ghcr.yml
vendored
@@ -1,7 +1,10 @@
|
|||||||
name: Docker Image CI
|
name: Docker Image CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # 手动触发
|
workflow_dispatch: # 保留手动触发
|
||||||
|
push: # 添加 push 事件触发
|
||||||
|
branches: # 指定触发分支
|
||||||
|
- main # 当推送代码到 main 分支时触发
|
||||||
|
|
||||||
# 显式声明权限
|
# 显式声明权限
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
Reference in New Issue
Block a user