diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index c2e531f3..013bee78 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -12,11 +12,11 @@ jobs: docker image ls --all --digests --no-trunc - uses: "hugoalh/send-discord-webhook-ghaction/_build@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "Hello, text channel!" - uses: "hugoalh/send-discord-webhook-ghaction/_build@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" poll_allow_multiselect: "true" poll_answers: |- - emoji: @@ -31,12 +31,12 @@ jobs: poll_question: "Who?" - uses: "hugoalh/send-discord-webhook-ghaction/_build@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "Hello, thread 0!" thread_id: "1281905279075876887" - uses: "hugoalh/send-discord-webhook-ghaction/_build@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_FORUM}}" + key: "${{secrets.TEST_FORUM_WEBHOOK}}" content: "Hello, forum thread!" thread_name: "Test" thread_tags: |- @@ -47,7 +47,7 @@ jobs: 1281995653186195497 - uses: "hugoalh/send-discord-webhook-ghaction/_build@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "Text message. Up to 2000 characters." username: "Webhook" avatar_url: "https://i.imgur.com/4M34hi2.png" @@ -100,7 +100,7 @@ jobs: Invoke-WebRequest -Uri 'https://cdn.prod.website-files.com/6257adef93867e50d84d30e2/636e0b52aa9e99b832574a53_full_logo_blurple_RGB.png' -MaximumRetryCount 5 -RetryIntervalSec 5 -Method 'Get' -OutFile 'thumbnail.png' - uses: "hugoalh/send-discord-webhook-ghaction/_build@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "This is the Discord logo." files: |- thumbnail.png diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index c3b04a99..b10d7471 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -12,11 +12,11 @@ jobs: docker image ls --all --digests --no-trunc - uses: "hugoalh/send-discord-webhook-ghaction@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "Hello, text channel!" - uses: "hugoalh/send-discord-webhook-ghaction@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" poll_allow_multiselect: "true" poll_answers: |- - emoji: @@ -31,12 +31,12 @@ jobs: poll_question: "Who?" - uses: "hugoalh/send-discord-webhook-ghaction@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "Hello, thread 0!" thread_id: "1281905279075876887" - uses: "hugoalh/send-discord-webhook-ghaction@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_FORUM}}" + key: "${{secrets.TEST_FORUM_WEBHOOK}}" content: "Hello, forum thread!" thread_name: "Test" thread_tags: |- @@ -47,7 +47,7 @@ jobs: 1281995653186195497 - uses: "hugoalh/send-discord-webhook-ghaction@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "Text message. Up to 2000 characters." username: "Webhook" avatar_url: "https://i.imgur.com/4M34hi2.png" @@ -100,7 +100,7 @@ jobs: Invoke-WebRequest -Uri 'https://cdn.prod.website-files.com/6257adef93867e50d84d30e2/636e0b52aa9e99b832574a53_full_logo_blurple_RGB.png' -MaximumRetryCount 5 -RetryIntervalSec 5 -Method 'Get' -OutFile 'thumbnail.png' - uses: "hugoalh/send-discord-webhook-ghaction@dev" with: - key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + key: "${{secrets.TEST_TEXT_WEBHOOK}}" content: "This is the Discord logo." files: |- thumbnail.png