diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a8fd00..84fd477 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,4 +14,4 @@ jobs: uses: chhpt/wechat-work-messenger@master env: BOT_KEY: ${{ secrets.BOT_KEY }} - BOT_MESSAGE: 'Action Build Success' + POST_MESSAGE: 'Action Build Success' diff --git a/entrypoint.sh b/entrypoint.sh index b32298e..8f5acf3 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,7 @@ if [ -z "$POST_MESSAGE" ]; then exit 1 fi -curl "http://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=$BOT_KEY" \ +curl "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=$BOT_KEY" \ -H "Content-Type: application/json" \ -d " {