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