From d86c217be7439227b2c6ac779dd4c72a990d8c2a Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Wed, 25 Mar 2020 16:33:51 +0800 Subject: [PATCH] add dingtalk webhook --- .github/workflows/publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 584ee537..139d3c0a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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"}'