-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.71 KB
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'Pushes'
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Notify On Start
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'GuidebookAPI - Github'
status: '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 Success
if: success()
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'GuidebookAPI - Github'
status: '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: 'GuidebookAPI - Github'
status: 'failure'
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'