-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.05 KB
/
pushes.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
name: Push Workflow
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Notify Push
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'GuidebookAPI/Github'
status: 'started'
webhook_avatar: ${{ secrets.webhook_avatar }}
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true
- name: Notify On Success
if: success()
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'GuidebookAPI/Github'
status: 'success'
webhook_avatar: ${{ secrets.webhook_avatar }}
- name: Notify On Failure
if: failure ()
uses: wonejomb/[email protected]
with:
webhook_url: ${{ secrets.webhook_url }}
webhook_name: 'GuidebookAPI/Github'
status: 'failure'
webhook_avatar: ${{ secrets.webhook_avatar }}