[update] - change pipeline
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2023-07-17 14:37:27 +07:00
parent 35bd5cc870
commit 2a036620ce

View File

@@ -31,18 +31,13 @@ steps:
from_secret: kube_token
# commands:
# - kubectl --insecure-skip-tls-verify --namespace=rmutr rollout restart deployment/rmutr-budget-api
- name: discord notification
image: appleboy/drone-discord
- name: webhook
image: 71dev/go-discord-plugin
settings:
webhook_id: 1130060377468715028
webhook_token: vIGjdYXO7R_uyJWVrHvpZntcC_DFFELcTb0cRO5gX0iLGhlpwBWQ2FxiXedAUskYbXzU
message: >
📝 {{repo.name}} / {{commit.branch}} - {{commit.message}}
{{#success build.status}}
✅ succeeded for 👷‍♂️ build {{build.number}}
{{else}}
🛑 failed for 👷‍♂️ build {{build.number}}
{{/success}}
url: https://utility.71dev.com/utility-api/giteawebhook
method: post
body: |
hello world
when:
status:
- failure