mirror of https://gitee.com/maxjhandsome/pig
💚 Fixing CI Build. github action结果推送到 企微
This commit is contained in:
parent
6f5473ef4d
commit
828d4e156d
|
@ -28,10 +28,11 @@ jobs:
|
||||||
|
|
||||||
- name: success
|
- name: success
|
||||||
if: success() && github.repository == 'pig-mesh/pig'
|
if: success() && github.repository == 'pig-mesh/pig'
|
||||||
uses: fifsky/dingtalk-action@master
|
uses: chf007/action-wechat-work@master
|
||||||
|
env:
|
||||||
|
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.DINGTALK_WEBHOOK}}
|
msgtype: markdown
|
||||||
type: markdown
|
|
||||||
content: |
|
content: |
|
||||||
# 💯👨💻 Success 🎉🎉🎉
|
# 💯👨💻 Success 🎉🎉🎉
|
||||||
> Github Action: https://github.com/pig-mesh/pig success
|
> Github Action: https://github.com/pig-mesh/pig success
|
||||||
|
@ -39,10 +40,11 @@ jobs:
|
||||||
|
|
||||||
- name: failure
|
- name: failure
|
||||||
if: failure() && github.repository == 'pig-mesh/pig'
|
if: failure() && github.repository == 'pig-mesh/pig'
|
||||||
uses: fifsky/dingtalk-action@master
|
uses: chf007/action-wechat-work@master
|
||||||
|
env:
|
||||||
|
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.DINGTALK_WEBHOOK}}
|
msgtype: markdown
|
||||||
type: markdown
|
|
||||||
content: |
|
content: |
|
||||||
# 💤🤷♀️ failure 🙅♂️💣
|
# 💤🤷♀️ failure 🙅♂️💣
|
||||||
> Github Action: https://github.com/pig-mesh/pig failure
|
> Github Action: https://github.com/pig-mesh/pig failure
|
||||||
|
|
Loading…
Reference in New Issue