Update deploy.yml

master
绝弹 2024-01-15 22:28:27 +08:00 committed by GitHub
parent b9c179a95b
commit 2bc0a5a7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

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