From 0392d5dcadb5fefeb9e82c17727d64fce8e06236 Mon Sep 17 00:00:00 2001 From: Ching Date: Tue, 5 Mar 2024 00:44:58 +0800 Subject: [PATCH] ci: Update Discord notification message --- .drone.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 310cc17..29a4b4c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,8 +53,13 @@ steps: - name: discord notification image: appleboy/drone-discord settings: - webhook_id: 1213409068559900683 - webhook_token: szl0AICZwA1V82dg8Vrc_xqOCl1WwnxktlQdf4cdILswR-xZBI5-JOdqGSD8dVUNcUlH + webhook_id: discord_webhook_id + webhook_token: discord_webhook_token + message: | + Drone Build #${DRONE_BUILD_NUMBER} ${DRONE_BUILD_STATUS} + Project: ${DRONE_REPO_NAME} + Branch: ${DRONE_BRANCH} + Commit: ${DRONE_COMMIT_SHA:0:8} when: status: [success, failure]