More drone tweaks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-23 22:47:01 -03:00
parent c87e669e8a
commit 9652c8a063

View File

@@ -17,11 +17,6 @@ steps:
from_secret: gitea_package_token from_secret: gitea_package_token
secrets: [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 - name: Send Deploy Status Notification
image: plugins/webhook image: plugins/webhook
settings: settings:
@@ -30,7 +25,7 @@ steps:
template: | template: |
{ {
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png", "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" "username":"DroneBot"
} }
when: when:
@@ -38,14 +33,6 @@ steps:
- success - success
- failure - failure
volumes:
- name: dockerconfig
host:
path: /volume1/docker/dockerconfig.json
- name: dockersock
host:
path: /var/run/docker.sock
trigger: trigger:
branch: branch:
- main - main
@@ -67,7 +54,7 @@ steps:
- name: Deploy to Production - name: Deploy to Production
image: plugins/webhook image: plugins/webhook
settings: 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 - name: Send Production Deploy Status
image: plugins/webhook image: plugins/webhook