💚 Fixing CI Build. github action结果推送到 企微

This commit is contained in:
云彩ing 2021-09-12 07:49:15 +08:00
parent 6f5473ef4d
commit 828d4e156d
1 changed files with 8 additions and 6 deletions

View File

@ -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