diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c6a4cff --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +type: docker +name: build-and-deploy + +steps: +- name: telegram notification + image: appleboy/drone-telegram + settings: + token: + from_secret: telegram_token + to: + from_secret: telegram_to + format: markdown + when: + status: + - success + - failure + message: > + {{#success build.status}} + ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} + {{else}} + ❌ Build #{{build.number}} of `{{repo.name}}` failed. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} + {{/success}} + + when: + branch: + - dev \ No newline at end of file diff --git a/src/1.jpg b/src/1.jpg new file mode 100644 index 0000000..8c21525 Binary files /dev/null and b/src/1.jpg differ