chore: discord release action

This commit is contained in:
Bereket Engida
2024-10-09 16:47:32 +03:00
parent ce17e547e6
commit e9ed883f5c
2 changed files with 16 additions and 1 deletions

View File

@@ -46,3 +46,4 @@ jobs:
- name: Stop Docker Containers - name: Stop Docker Containers
run: docker compose down run: docker compose down

View File

@@ -23,3 +23,17 @@ jobs:
- run: npx changelogithub - run: npx changelogithub
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Github Releases To Discord
uses: SethCohen/github-releases-to-discord@v1.15.1
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
color: "2105893"
username: "Release Changelog"
avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"
content: "||@everyone||"
footer_title: "Changelog"
footer_icon_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"
footer_timestamp: true
max_description: '4096'
reduce_headings: true