Skip to content

Commit

Permalink
ci: 通过onebot推构建消息
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Apr 27, 2024
1 parent 4c0e26e commit 6b34daa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-latest-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,13 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Push Finish Notification
run: |
curl --location '${{ secrets.ONEBOT_V11_ENDPOINT }}/send_group_msg' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${{ secrets.ONEBOT_V11_TOKEN }}' \
--data '{
"group_id": ${{ secrets.ONEBOT_V11_GROUP_ID }},
"message": "CampuxBot 构建完成。"
}'

0 comments on commit 6b34daa

Please sign in to comment.