trigger ci only on daily cron instead of on every push
This commit is contained in:
parent
92c1ee76f5
commit
7ae822f115
1 changed files with 12 additions and 0 deletions
12
.drone.yml
12
.drone.yml
|
|
@ -2,6 +2,12 @@ kind: pipeline
|
|||
type: kubernetes
|
||||
name: frontend
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
- nightly # only daily builds; don't build on push
|
||||
|
||||
steps:
|
||||
- name: Build frontend image
|
||||
image: plugins/docker
|
||||
|
|
@ -24,6 +30,12 @@ kind: pipeline
|
|||
type: kubernetes
|
||||
name: api
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
- nightly # only daily builds; don't build on push
|
||||
|
||||
steps:
|
||||
- name: Build backend API image
|
||||
image: plugins/docker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue