diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4bc1a68c..7681e624 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,9 +54,9 @@ jobs: BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: dingtalk - uses: JantHsueh/webrequest-action@master + uses: satak/webrequest-action@master with: url: ${{ secrets.dingtalk_webhook }} 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"}'