mirror of
https://github.com/seepine/action-wechat-work.git
synced 2025-01-31 21:57:08 +08:00
22 lines
555 B
YAML
22 lines
555 B
YAML
name: Send notification on push
|
||
on: [push]
|
||
|
||
jobs:
|
||
send-msg:
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- name: WeChat Work notification by text
|
||
uses: chf007/action-wechat-work@master
|
||
env:
|
||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||
with:
|
||
msgtype: text
|
||
content: 广州今日天气:29度,大部分多云,降雨概率:60%
|
||
mentioned_list:
|
||
- '@all'
|
||
- andreiguan
|
||
mentioned_mobile_list:
|
||
- '@all'
|
||
- 15002085767
|
||
|