diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e89c8ed..0f84d1a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,4 +28,12 @@ jobs: git init git add -A git commit -m "Build through github action" - git push -f "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" master:gh-pages \ No newline at end of file + git push -f "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" master:gh-pages + + - name: '推送到微信' + uses: chf007/action-wechat-work@master + env: + WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}} + with: + msgtype: text + content: "推送通知\n\n有提交推送到仓库,请关注构建结果。"