about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-04 18:58:46 +0100
committerEmile <hanemile@protonmail.com>2019-11-04 18:58:46 +0100
commit7ae400319c0dfeb09e67e1f4de5d8bfe0dd33299 (patch)
tree659b2d383c186c9cf845553e6a0a42f41ba819de
parent1e92fc57ade831d648e6835cc92afca7311d1ba3 (diff)
copied a working config
-rw-r--r--.drone.yml67
1 files changed, 35 insertions, 32 deletions
diff --git a/.drone.yml b/.drone.yml
index db7829d..526e9e1 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,3 +1,6 @@
+kind: pipeline
+name: default
+
 platform:
     os: linux
     arch: amd64
@@ -7,43 +10,43 @@ steps:
   image: plugins/docker
   settings:
       tags:
-      - latest
+        - latest
       repo: registry.darknebu.la/circus/manager
       registry: registry.darknebu.la
       username:
-          from_secret: docker_username
+        from_secret: docker_username
       password:
-          from_secret: docker_password
+        from_secret: docker_password
 
 - name: telegram-notification
   image: appleboy/drone-telegram
   settings:
-      token: 
-          from_secret: telegram_token
-      to: 
-          from_secret: telegram_to
-      when:
-          status: [ success, failure ]
-      format: markdown
-      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}}
+    token: 
+      from_secret: telegram_token
+    to: 
+      from_secret: telegram_to
+    when:
+      status: [ success, failure ]
+    format: markdown
+    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}}