depends_on: - build - locale - check run_on: [ success, failure ] skip_clone: true pipeline: discord: image: appleboy/drone-discord settings: message: "{{#success build.status}} āœ… Build #{{build.number}} of `{{repo.name}}` succeeded.\n\nšŸ“ Commit by {{commit.author}}:\n``` {{commit.message}} ```\n\nšŸŒ {{ build.link }} {{else}} āŒ Build #{{build.number}} of `{{repo.name}}` failed.\n\nšŸ“ Commit by {{commit.author}}:\n``` {{commit.message}} ```\n\nšŸŒ {{ build.link }} {{/success}}\n" webhook_id: from_secret: DISCORD_BOT_ID webhook_token: from_secret: DISCORD_BOT_SECRET when: event: [ push ] branch: main