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