Skip to content

Commit

Permalink
Create discord-notification.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw authored Jan 30, 2024
1 parent e66709a commit b9d598b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/discord-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Notification on push

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_USERNAME: kubbot
DISCORD_AVATAR: https://avatars.githubusercontent.com/u/81367559?v=4
uses: Ilshidur/action-discord@master
with:
args: "There is a new push. Click to view it 👇"
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master

0 comments on commit b9d598b

Please sign in to comment.