File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,18 +98,15 @@ jobs:
9898 }'
9999
100100 # Send a discord notification
101- - name : Discord Message Notify
102- uses : appleboy /discord-action@v1.0 .0
101+ - name : Discord Webhook Action
102+ uses : tsickert /discord-webhook@v5.4 .0
103103 with :
104- webhook_id : ${{ secrets.DISCORD_ANNOUNCEMENT_WEBHOOK_ID }}
105- webhook_token : ${{ secrets.DISCORD_ANNOUNCEMENT_WEBHOOK_TOKEN }}
106- color : " #ff0088"
107- avatar_url : " https://media.discordapp.net/attachments/1075015857719230484/1194581653792759908/bot_avatar.png"
108- username : " Zoty"
109- message : |
110- MODULE UPDATED
111- Module : ${{ env.TITLE }}
112- Version : ${{ env.VERSION }}
113- Link : https://foundryvtt.com/packages/${{ env.MODULE }}
114- Repository : ${{ github.repository }}
115- Changelog : ${{ env.CHANGELOG }}
104+ webhook-url : https://discord.com/api/webhooks/${{ secrets.DISCORD_ANNOUNCEMENT_WEBHOOK_ID }}/${{ secrets.DISCORD_ANNOUNCEMENT_WEBHOOK_TOKEN }}
105+ content : " <@&1194266914126581820>"
106+ username : " Module Update"
107+ avatar-url : " https://media.discordapp.net/attachments/1075015857719230484/1194581653792759908/bot_avatar.png"
108+ embed-title : " ${{ env.TITLE }} - Version ${{ env.VERSION }}"
109+ embed-uril : " https://foundryvtt.com/packages/${{ env.MODULE }}"
110+ embed-description : " ${{ env.CHANGELOG_TEXT }}"
111+ embed-color : " #ff0088"
112+
You can’t perform that action at this time.
0 commit comments