Jelajahi Sumber

Actually use the drone plugin

Colin Powell 1 tahun lalu
induk
melakukan
9083e744da
1 mengubah file dengan 12 tambahan dan 1 penghapusan
  1. 12 1
      .drone.yml

+ 12 - 1
.drone.yml

@@ -39,10 +39,21 @@ steps:
         - vrobbler collectstatic --noinput
         - immortalctl restart celery && immortalctl restart vrobbler
         - service immortaldir restart
-        - curl -d "Deploy successful!" -H "Title#58; Vrobbler CI process complete" -H "Priority#58; high" -H "Tags#58; success,cd" https://ntfy.unbl.ink/drone
     when:
       branch:
       - main
+  - name: notification
+    image: parrazam/drone-ntfy
+    when:
+        status: [success, failure]
+    settings:
+      url: https://ntfy.unbl.ink
+      topic: drone
+      priority: medium
+      tags:
+        - cd
+        - pipeline
+        - vrobbler
 volumes:
   - name: docker
     host: