use feishu webhook notification
This commit is contained in:
1 parent
1eaee98bca
commit
e8318db7c5
1 file changed
+9
-11
+9
-11
@@ -53,16 +53,14 @@ steps:
|
|||||||
- docker compose --env-file .env up -d
|
- docker compose --env-file .env up -d
|
||||||
|
|
||||||
- name: feishu
|
- name: feishu
|
||||||
image: keepchen/drone-feishu
|
image: curlimages/curl:8.8.0
|
||||||
settings:
|
commands:
|
||||||
token:
|
- >
|
||||||
from_secret: feishu_token
|
curl -fsS -X POST "$FEISHU_WEBHOOK"
|
||||||
secret:
|
-H 'Content-Type: application/json'
|
||||||
from_secret: feishu_secret
|
-d '{"msg_type":"text","content":{"text":"部署成功"}}'
|
||||||
card_title: "Office-xbot-feishu 通知"
|
environment:
|
||||||
success_img_key: ""
|
FEISHU_WEBHOOK:
|
||||||
failure_img_key: ""
|
from_secret: feishu_webhook
|
||||||
powered_by_img_key: ""
|
|
||||||
powered_by_img_alt: ""
|
|
||||||
when:
|
when:
|
||||||
- status: [failure, success]
|
- status: [failure, success]
|
||||||
Reference in new issue
Block a user