From 05f02bdc1dbca08d9e68b1b5f2aa0ba12fd3d29a Mon Sep 17 00:00:00 2001 From: sthope Date: Thu, 2 Sep 2021 00:24:53 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0482b6c..48ca109 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,5 +5,23 @@ name: check steps: - name: jekyll image: jekyll/jekyll:latest - commands: - - serve --force_polling \ No newline at end of file + commands: "serve --force_polling" + +- name: discord notification + image: appleboy/drone-discord + settings: + webhook_id: + from_secret: discord_webhook_id + webhook_token: + from_secret: discord_webhook_token + avatar_url: https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png + when: + event: + - push + - tag + - pull_request + - deployment + status: + - changed + - failure + - success \ No newline at end of file