Explorar el Código

Actually use the drone plugin

Colin Powell hace 1 año
padre
commit
9083e744da
Se han modificado 1 ficheros con 12 adiciones y 1 borrados
  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: