Skip to content

Commit

Permalink
Include 'promote' event to include 'cron'
Browse files Browse the repository at this point in the history
Without the promote event, cron will end up in the actual configuration.
This can be tested by running the 'drone fmt' command on the .drone.yml
file. Also mentioned here: harness/harness#2705
  • Loading branch information
ErwinJanssen committed Jul 2, 2019
1 parent 496d4f6 commit 2036292
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ steps:
- echo test

trigger:
event:
- promote
cron:
- update-repository-every-hour

Expand Down Expand Up @@ -70,7 +72,6 @@ volumes:

trigger:
event:
exclude:
- "*"
- promote
cron:
- learn-new-models-every-day

0 comments on commit 2036292

Please sign in to comment.