discord-action icon indicating copy to clipboard operation
discord-action copied to clipboard

Unable to send discord message

Open wliu opened this issue 2 years ago • 9 comments

We have been using this github action to push messages into discord but this seems broken now.

Using a very simple example, no message is sent and I'm unable to see any errors in logging.

Screen Shot 2023-01-30 at 9 25 37 AM Screen Shot 2023-01-30 at 9 27 40 AM

The result is no message is sent. Seems like the implementation here is baked into a docker container. Did something change in the container?

wliu avatar Jan 30 '23 17:01 wliu

Ditto here

thebjko avatar May 10 '23 07:05 thebjko

I will take it.

appleboy avatar May 10 '23 08:05 appleboy

same issue here

liya2017 avatar May 24 '23 00:05 liya2017

@appleboy is there any update here?

Failender avatar Jun 13 '23 12:06 Failender

Experiencing the same issue here.

elendil7 avatar Aug 07 '23 19:08 elendil7

same issue here

johnnymayron-leaf avatar Sep 21 '23 19:09 johnnymayron-leaf

@elendil7 Any error log message? I try it out again. I can receive the discord message.

appleboy avatar Sep 24 '23 00:09 appleboy

@wliu Could you provide the message format?

appleboy avatar Sep 29 '23 01:09 appleboy

@appleboy Even i am facing this issue, I am using the below format, but i dont see any notification on discord - and no error logs

     if: ${{ env.HEALTH_CHECK == 'true' }}
     uses: appleboy/discord-action@master
     with:
       webhook_id: ${{ secrets.STAGE_DEPLOYMENT_DISCORD_WEBHOOK_ID }}
       webhook_token: ${{ secrets.STAGE_DEPLOYMENT_DISCORD_WEBHOOK_TOKEN }}
       color: "#48f442"
       username: "STAGE DEPLOYMENT NOTIFICATION"
       message: |
         ${{ env.SERVICE_NAME }} - Deployment SUCCESS
         Link          : ${{ env.SERVICE_URL }}
         Commit        : https://github.com/${{ env.ORG }}/${{ env.SERVICE_NAME }}/commit/${{ github.sha }}
         Commit Author : {{ env.COMMIT_AUTHOR}}
         Commit Action : https://github.com/Gaji-Gesa/${{ env.SERVICE_NAME }}/actions/runs/${{ github.run_id }}```

saadansari93 avatar Nov 14 '23 06:11 saadansari93