mirror of
https://github.com/developersIndia/deviras.git
synced 2024-11-09 23:12:03 +05:30
18 lines
522 B
YAML
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
|