ci: Update Discord notification message format
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Ching 2024-03-05 01:07:21 +08:00
parent 78f69328f8
commit 2c13989889

View File

@ -57,12 +57,12 @@ steps:
from_secret: discord_webhook_id from_secret: discord_webhook_id
webhook_token: webhook_token:
from_secret: discord_webhook_token from_secret: discord_webhook_token
message: | # message: |
Drone Build #${DRONE_BUILD_NUMBER} ${DRONE_BUILD_STATUS} # Drone Build #${DRONE_BUILD_NUMBER} ${DRONE_BUILD_STATUS}
Project: ${DRONE_REPO_NAME} # Project: ${DRONE_REPO_NAME}
Branch: ${DRONE_BRANCH} # Branch: ${DRONE_BRANCH}
Commit: ${DRONE_COMMIT_SHA:0:8} # Commit: ${DRONE_COMMIT_SHA:0:8}
[Build Log](${DRONE_BUILD_LINK}) # [Build Log](${DRONE_BUILD_LINK})
when: when:
status: [success, failure] status: [success, failure]