kind: pipeline type: docker name: default steps: - name: greeting image: alpine commands: - echo hello - echo world - name: success image: appleboy/drone-discord settings: webhook_id: from_secret: discord_webhook_id webhook_token: from_secret: discord_webhook_token message: > {{#success build.status}} tests succeeded for commit {{build.commit}} from {{build.author}} in {{build.branch}} on {{repo.name}} {{else}} test failed for commit {{build.commit}} from {{build.author}} in {{build.branch}} on {{repo.name}} {{/success}} username: drone avatar_url: https://drone.malachy.ie/favicon.png when: status: - success - failure