Skip to content

Commit

Permalink
Add more embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBunnyDc committed Sep 23, 2024
1 parent 8b1bd91 commit 37ac491
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,33 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Notify On Start
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'Build Started'
webhook_avatar: 'https://media.discordapp.net/attachments/1259725258949267508/1287642276109221908/logo.png?ex=66f249d1&is=66f0f851&hm=7046affb16e8fa7ebf424814664a9ab47b9b3b0973bd534616e4f9349a06362b&=&format=webp&quality=lossless&width=640&height=640'

- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: false
- name: Notify On Discord

- name: Notify On Success
if: success()
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'Build Success'
webhook_avatar: 'https://media.discordapp.net/attachments/1259725258949267508/1287642276109221908/logo.png?ex=66f249d1&is=66f0f851&hm=7046affb16e8fa7ebf424814664a9ab47b9b3b0973bd534616e4f9349a06362b&=&format=webp&quality=lossless&width=640&height=640'

- name: Notify On Failure
if: failure()
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'WuidebookAPI - Github'
webhook_name: 'Build Failed'
webhook_avatar: 'https://media.discordapp.net/attachments/1259725258949267508/1287642276109221908/logo.png?ex=66f249d1&is=66f0f851&hm=7046affb16e8fa7ebf424814664a9ab47b9b3b0973bd534616e4f9349a06362b&=&format=webp&quality=lossless&width=640&height=640'

0 comments on commit 37ac491

Please sign in to comment.