Skip to content

Update test-discord-ping.yml #2

Update test-discord-ping.yml

Update test-discord-ping.yml #2

name: TEST - Discord ping
on:
workflow_dispatch:
jobs:
test:
uses: ./.github/workflows/send-discord-embed.yml@main

Check failure on line 8 in .github/workflows/test-discord-ping.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-discord-ping.yml

Invalid workflow file

invalid value workflow reference: cannot specify version when calling local workflows
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_TEST_HOOK }}
with:
CONTENT: This is a test!
EMBEDS: >
[
{
"id": 661098315,
"description": "Hello World!",
"fields": [],
"author": {
"name": "Hello World!",
"icon_url": "https://github.com/withstudiocms/studiocms.dev/blob/main/assets/logo-discord.png?raw=true"
},
"title": "Hello!"
}
]