From 7b825975aa697bf551ea7cde9806350a559d0edd Mon Sep 17 00:00:00 2001
From: sthope <sthope@git.sthope>
Date: Thu, 2 Sep 2021 11:14:07 +0200
Subject: [PATCH] Add '.drone.yml'

---
 .drone.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 .drone.yml

diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..73d3f8b
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,30 @@
+kind: pipeline
+type: docker
+name: default
+
+steps:
+
+- name: ha-latest
+  image: homeassistant/home-assistant:latest
+    entrypoint: [""]
+  needs: []
+
+- name: discord
+  pull: always
+  image: appleboy/drone-discord:1
+  avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
+  environment:
+    DISCORD_WEBHOOK_ID:
+      from_secret: discord_webhook_id
+    DISCORD_WEBHOOK_TOKEN:
+      from_secret: discord_webhook_token
+  when:
+    event:
+    - push
+    - tag
+    - pull_request
+    - deployment
+    status:
+    - changed
+    - failure
+    - success
\ No newline at end of file