Skip to content

Commit

Permalink
Changed Discord notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
print-Sathvik committed Feb 26, 2024
1 parent d88c066 commit 170b9e3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Send Discord notification
uses: stegzilla/discord-notify@v2
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
uses: Ilshidur/action-discord@master
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
title: New Commit Pushed
message: "${{ github.push.head_commit.message }} \n Creator: ${{ github.push.pusher.username }} \n ${{ github.event.push.head_commit.url }}"
include_image: true
avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
username: GitHub Push Notifier
args: 'The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed.'

0 comments on commit 170b9e3

Please sign in to comment.