Update publish.yml

This commit is contained in:
osborn 2020-03-25 20:14:21 +08:00 committed by GitHub
parent 90988cef51
commit 3e262fae64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,9 +54,9 @@ jobs:
BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }} BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: dingtalk - name: dingtalk
uses: JantHsueh/webrequest-action@master uses: satak/webrequest-action@master
with: with:
url: ${{ secrets.dingtalk_webhook }} url: ${{ secrets.dingtalk_webhook }}
method: POST method: POST
payload: '{"msgtype": "text", "text": {"content": "Doric version ${{GITHUB_REF}} released."}}' payload: '{"msgtype": "text", "text": {"content": "Doric version ${{env.GITHUB_REF:11}} released."}}'
headers: '{"Content-Type": "application/json"}' headers: '{"Content-Type": "application/json"}'