diff --git a/.github/workflows/flair-usage-stats.yml b/.github/workflows/flair-usage-stats.yml new file mode 100644 index 0000000..73c0428 --- /dev/null +++ b/.github/workflows/flair-usage-stats.yml @@ -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