CI: support Woodpecker deployment event
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
when:
|
||||
- event: push
|
||||
branch: master
|
||||
- event: [tag, manual]
|
||||
- event: [tag, manual, deployment]
|
||||
|
||||
steps:
|
||||
- name: build-and-push
|
||||
@@ -31,4 +31,4 @@ steps:
|
||||
- kubectl -n coreid rollout restart deployment/coreid
|
||||
- kubectl -n coreid rollout status deployment/coreid --timeout=5m
|
||||
when:
|
||||
- event: [tag, manual]
|
||||
- event: [deployment]
|
||||
|
||||
Reference in New Issue
Block a user