Skip to content

Update discord-notify.yml #4

Update discord-notify.yml

Update discord-notify.yml #4

name: Discord Notification

Check failure on line 1 in .github/workflows/discord-notify.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/discord-notify.yml

Invalid workflow file

(Line: 16, Col: 28): Unexpected symbol: '"https://discord'. Located at position 1 within expression: "https://discord.com/api/webhooks/1402231972364812308/Jjq_sle0vM96bPCo5aW3y8WkKDY4gJdd71zObPLoPcXXiWQxfSom1ISow7rpaU4JxeIN"
on: push # Triggers on every push
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Discord Notification
uses: Ilshidur/action-discord@master
with:
args: |
**New commit in ${{ github.repository }}**
> **Author:** ${{ github.actor }}
> **Message:** ${{ github.event.head_commit.message }}
> [View Commit](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
env:
DISCORD_WEBHOOK: ${{ "https://discord.com/api/webhooks/1402231972364812308/Jjq_sle0vM96bPCo5aW3y8WkKDY4gJdd71zObPLoPcXXiWQxfSom1ISow7rpaU4JxeIN" }}