Skip to content

Commit

Permalink
Send message to Discord channel
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoparrilla committed Nov 27, 2024
1 parent e07aad2 commit 859c87a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,15 @@ jobs:
git add images.log
git commit -m "Add ${{steps.parse_pr.outputs.title}}"
git push
- name: Discord notification
if: steps.get_pr.outputs.pr_number != ''
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "The floppy image \"${{ steps.parse_pr.outputs.title }}\" (category: ${{ steps.parse_pr.outputs.category }}) has been successfully processed and added to the database."

- name: Notify Maintainers
if: failure() && steps.get_pr.outputs.pr_number != ''
uses: actions/github-script@v6
Expand Down

0 comments on commit 859c87a

Please sign in to comment.