diff --git a/.github/workflows/build-latest-backend.yaml b/.github/workflows/build-latest-backend.yaml index 3c2cdba..21a3b71 100644 --- a/.github/workflows/build-latest-backend.yaml +++ b/.github/workflows/build-latest-backend.yaml @@ -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 构建完成。" + }' \ No newline at end of file