add dingtalk webhook

This commit is contained in:
pengfei.zhou 2020-03-25 16:33:51 +08:00 committed by osborn
parent 5df53369a0
commit d86c217be7

View File

@ -50,3 +50,10 @@ jobs:
BINTARY_REPO: ${{ secrets.BINTARY_REPO }}
BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: dingtalk
uses: JantHsueh/webrequest-action@master
with:
url: ${{ secrets.dingtalk_webhook }}
method: POST
payload: '{"msgtype": "text", "text": {"content": "Doric Release ${GITHUB_REF:10}"}}'
headers: '{"Content-Type": "application/json"}'