File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,15 +125,22 @@ jobs:
125125 --content-encoding none \
126126 --acl public-read
127127
128- - name : Actions for Discord
129- uses : Ilshidur/action-discord@0.4.0
130- env :
131- DISCORD_WEBHOOK : ${{ secrets.PUBLIC_DISCORD_RELEASE_ENDPOINT }}
128+ - name : Discord Webhook Notification
129+ uses : tsickert/discord-webhook@v7.0.0
132130 with :
133- args : |
134- 🚀 **Unraid API Release ${{ inputs.version }}**
135-
136- View Release: https://github.com/${{ github.repository }}/releases/tag/${{ inputs.version }}
137-
138- **Changelog:**
131+ webhook-url : ${{ secrets.PUBLIC_DISCORD_RELEASE_ENDPOINT }}
132+ username : " Unraid API Bot"
133+ avatar-url : " https://craftassets.unraid.net/uploads/logos/un-mark-gradient.png"
134+ embed-title : " 🚀 Unraid API ${{ inputs.version }} Released!"
135+ embed-url : " https://github.com/${{ github.repository }}/releases/tag/${{ inputs.version }}"
136+ embed-description : |
137+ A new version of Unraid API has been released!
138+
139+ **Version:** `${{ inputs.version }}`
140+ **Release Page:** [View on GitHub](https://github.com/${{ github.repository }}/releases/tag/${{ inputs.version }})
141+
142+ **📋 Changelog:**
139143 ${{ steps.release-info.outputs.body }}
144+ embed-color : 16734296
145+ embed-footer-text : " Unraid API • Automated Release"
146+ embed-timestamp : true
You can’t perform that action at this time.
0 commit comments