dt-yy 11 сар өмнө
parent
commit
8327d9d3f4

+ 1 - 1
.github/workflows/cli.yml

@@ -43,5 +43,5 @@ jobs:
     steps:
     - name: notify
       run: |
-        #echo ${{ secrets.WEBHOOK_URL }}
+        echo $WEBHOOK_URL
         curl -X POST -H "Content-Type: application/json" -d '{"msg_type":"post","content":{"post":{"zh_cn":{"title":"'${{ github.repository }}' GitHubAction Failed","content":[[{"tag":"text","text":""},{"tag":"a","text":"Please click here for details ","href":"https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'"},{"tag":"at","user_id":"'${{ secrets.USER_ID }}'"}]]}}}}'  $WEBHOOK_URL