From 9652c8a0632c15b2c0dcdd719a1a51b31b32d65e Mon Sep 17 00:00:00 2001 From: mifi Date: Wed, 23 Jul 2025 22:47:01 -0300 Subject: [PATCH] More drone tweaks --- .drone.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3dabd2b..2c7b03c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,11 +17,6 @@ steps: from_secret: gitea_package_token secrets: [gitea_package_token] -- name: Deploy Container - image: plugins/webhook - settings: - urls: ttps://portainer.mifi.dev/api/stacks/webhooks/f7e63722-cafd-4970-8729-9f1936c6a070 - - name: Send Deploy Status Notification image: plugins/webhook settings: @@ -30,7 +25,7 @@ steps: template: | { "icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png", - "text": "[{{ repo.name }} - Build # {{ build.number }}] Deploy {{ build.status }} {{#success build.status}}:tada:{{else}}:poop:{{/success}}", + "text": "[{{ repo.name }} - Build # {{ build.number }}] Publish {{ build.status }} {{#success build.status}}:tada:{{else}}:poop:{{/success}}", "username":"DroneBot" } when: @@ -38,14 +33,6 @@ steps: - success - failure -volumes: -- name: dockerconfig - host: - path: /volume1/docker/dockerconfig.json -- name: dockersock - host: - path: /var/run/docker.sock - trigger: branch: - main @@ -67,7 +54,7 @@ steps: - name: Deploy to Production image: plugins/webhook settings: - urls: https://portainer.mail.mifi.holdings/api/stacks/webhooks/WEBHOOK_ID_HERE + urls: https://portainer.mail.mifi.holdings/api/stacks/webhooks/f7e63722-cafd-4970-8729-9f1936c6a070 - name: Send Production Deploy Status image: plugins/webhook