chore: add watch for nightly cron to .drone.yml
This commit is contained in:
parent
50ea242c33
commit
0247a036a9
18
.drone.yml
18
.drone.yml
@ -248,17 +248,11 @@ clone:
|
||||
disable: true
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
- hourly
|
||||
- hourly-build
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
event: cron
|
||||
cron: [hourly, nightly]
|
||||
status: [success, failure]
|
||||
|
||||
depends_on:
|
||||
- deploy
|
||||
depends_on: deploy
|
||||
|
||||
steps:
|
||||
- name: discord
|
||||
@ -267,11 +261,11 @@ steps:
|
||||
settings:
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
✅ [Hourly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` has been successfully deployed.
|
||||
✅ [Cron build #{{build.number}}]({{build.link}}) of `{{repo.name}}` has been successfully deployed.
|
||||
event: **`{{build.event}}`**
|
||||
commit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`
|
||||
{{else}}
|
||||
❌ [Hourly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed to deploy.
|
||||
❌ [Cron build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed to deploy.
|
||||
event: **`${DRONE_BUILD_EVENT}`**
|
||||
failed stage(s): **`${DRONE_FAILED_STAGES}`**
|
||||
commit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`
|
||||
|
Loading…
Reference in New Issue
Block a user