Skip to content

Commit

Permalink
Adding notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed May 19, 2022
1 parent e942c72 commit 3f568d3
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions .drone.yml
Expand Up @@ -461,14 +461,33 @@ steps:
- rclone config create nightly sftp host $nightly_host user $nightly_user pass $nightly_password port 22
- rclone copy ./build/tmp/packages/ nightly:/home/devj/public_html/nightlies/ -v

trigger:
event:
- cron
- custom
cron:
- nightly
repo:
- joomla/joomla-cms
- name: success-situation
image: joomlaprojects/docker-images:packager
environment:
RINGCENTRAL_WEBHOOK:
from_secret: RINGCENTRAL_WEBHOOK
commands:
- /bin/notify

- name: failure-situation
image: joomlaprojects/docker-images:packager
environment:
RINGCENTRAL_WEBHOOK:
from_secret: RINGCENTRAL_WEBHOOK
commands:
- /bin/notify
when:
status:
- failure

#trigger:
# event:
# - cron
# - custom
# cron:
# - nightly
# repo:
# - joomla/joomla-cms

---
kind: signature
Expand Down

0 comments on commit 3f568d3

Please sign in to comment.