Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
root-hbx authored Apr 18, 2024
0 parents commit ca59e69
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/discordNotification.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: 松岛川树的秘书
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# template
Select this template to create a new repository

0 comments on commit ca59e69

Please sign in to comment.