Update deploy.yml

master
绝弹 2024-01-15 21:54:38 +08:00 committed by GitHub
parent 6cbd596f9f
commit 48ef4bf597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -34,7 +34,8 @@ jobs:
id: exec_cmd
run: |
OUTPUT=$(git log --format=%B -n 1 ${{ github.sha }})
echo "提交通知\n\n提交消息$OUTPUT\n提交哈希${{ github.sha }}\n已有提交推送到仓库请关注构建结果。"
MSG="提交通知\n\n提交消息$OUTPUT\n提交哈希${{ github.sha }}\n已有提交推送到仓库请关注构建结果。"
echo "::set-output name=output::$MSG"
shell: bash
- name: 推送到企微
@ -43,4 +44,4 @@ jobs:
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
with:
msgtype: text
content: ${{ steps.exec_cmd.outputs.output }}
content: "${{ steps.exec_cmd.outputs.output }}"