mirror of
https://github.com/seepine/action-wechat-work.git
synced 2025-01-18 21:36:41 +08:00
doc
This commit is contained in:
parent
5184ae1577
commit
66c9ddeefe
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -13,6 +13,8 @@ jobs:
|
||||
with:
|
||||
msgtype: text
|
||||
content: 广州今日天气:29度,大部分多云,降雨概率:60%
|
||||
mentioned_list: '["wangqing","@all"]'
|
||||
mentioned_mobile_list: '["13800001111","@all"]'
|
||||
|
||||
# markdown格式
|
||||
- name: WeChat Work notification by markdown
|
||||
@ -21,10 +23,10 @@ jobs:
|
||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||
with:
|
||||
msgtype: markdown
|
||||
content: "实时新增用户反馈<font color=\"warning\">132例</font>,请相关同事注意。\n
|
||||
content: '实时新增用户反馈<font color=\"warning\">132例</font>,请相关同事注意。\n
|
||||
>类型:<font color=\"comment\">用户反馈</font> \n
|
||||
>普通用户反馈:<font color=\"comment\">117例</font> \n
|
||||
>VIP用户反馈:<font color=\"comment\">15例</font>"
|
||||
>VIP用户反馈:<font color=\"comment\">15例</font>'
|
||||
|
||||
# 图片格式
|
||||
- name: WeChat Work notification by image
|
||||
@ -43,4 +45,4 @@ jobs:
|
||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||
with:
|
||||
msgtype: news
|
||||
articles: [{"title":"中秋节礼品领取","description":"今年中秋节公司有豪礼相送","url":"URL","picurl":"http://res.mail.qq.com/node/ww/wwopenmng/images/independent/doc/test_pic_msg1.png"}]
|
||||
articles: '[{"title":"中秋节礼品领取","description":"今年中秋节公司有豪礼相送","url":"URL","picurl":"http://res.mail.qq.com/node/ww/wwopenmng/images/independent/doc/test_pic_msg1.png"}]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user