Skip to content

Commit

Permalink
Create flair-usage-stats.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhupesh-V authored Jan 7, 2024
1 parent d6fed61 commit 5a18457
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/flair-usage-stats.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5a18457

Please sign in to comment.