Skip to content

Commit

Permalink
Retry notify job
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Oct 4, 2023
1 parent 2080b4e commit c46d099
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

steps:
- name: Notify Discord
uses: tyrrrz/action-http-request@28a403e52ea0f292b85a1850aeab1b90abc54be0 # 1.0.0
uses: tyrrrz/action-http-request@66a047c7508f4418114d1080fbfc348621cdc78f # 1.1.0
with:
url: ${{ secrets.DISCORD_WEBHOOK }}
method: POST
Expand All @@ -87,4 +87,5 @@ jobs:
{
"avatar_url": "https://raw.githubusercontent.com/${{ github.event.repository.full_name }}/${{ github.ref_name }}/favicon.png",
"content": "**${{ github.event.repository.name }}** new version released!\nVersion: `${{ github.ref_name }}`\nChangelog: <${{ github.event.repository.html_url }}/blob/${{ github.ref_name }}/Changelog.md>"
}
}
retry-count: 5

0 comments on commit c46d099

Please sign in to comment.