Create flair-usage-stats.yml

This commit is contained in:
Bhupesh Varshney 2024-01-07 13:09:06 +05:30 committed by GitHub
parent d6fed619fd
commit 5a18457c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
.github/workflows/flair-usage-stats.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: User Flair Usage Stats
on:
workflow_dispatch:
jobs:
send_discord_message:
runs-on: ubuntu-latest
steps:
- name: Send Discord message
env:
WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} # Add your Discord webhook URL in repository secrets
run: |
curl -X POST -H "Content-Type: application/json" -d '{"content":"Hello from GitHub Action!"}' $WEBHOOK_URL