deviras/.github/workflows/flair-usage-stats.yml
2024-01-07 13:18:58 +05:30

18 lines
522 B
YAML

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! This is a multiline message.\n\n```\nHere is a new line.\nAnd another one.```"
}' $WEBHOOK_URL