]> Untitled Git - lemmy.git/commitdiff
Add a ntfy notif on a tag deploy success. (#2701)
authorDessalines <dessalines@users.noreply.github.com>
Sat, 4 Feb 2023 17:51:48 +0000 (12:51 -0500)
committerGitHub <noreply@github.com>
Sat, 4 Feb 2023 17:51:48 +0000 (02:51 +0900)
.drone.yml

index 8c5fb0d36582b990ee0d9128573885e8b61da8d0..9b8588e94efefec748b955278a669527c7dd47c4 100644 (file)
@@ -207,6 +207,15 @@ steps:
       status:
         - failure
 
+  - name: Notify on tag deploy
+    image: alpine:3
+    commands: 
+      - apk add curl
+      - "curl -d'lemmy:${DRONE_TAG} deployed' ntfy.sh/lemmy_drone_ci"
+    when:
+      ref:
+        - refs/tags/*
+
 services:
   - name: database
     image: postgres:15-alpine