From 2dc8a4a8a8303961de8a740c58d4460db0bd5743 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 8 May 2024 04:20:17 -0700 Subject: [PATCH] ci: discord potential fix --- .github/workflows/discord-notification.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/discord-notification.yml b/.github/workflows/discord-notification.yml index 318cd538..935dcd25 100644 --- a/.github/workflows/discord-notification.yml +++ b/.github/workflows/discord-notification.yml @@ -10,8 +10,8 @@ jobs: notify: runs-on: ubuntu-latest steps: - - name: Send message to Discord - uses: Ilshidur/action-discord@master - with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - message: 'Hello from GitHub Actions!' \ No newline at end of file + name: Discord notification + env: + DISCORD_WEBHOOK: ${{secrets.DISCORD_WEBHOOK}} + DISCORD_EMBEDS: '[{ "title":"${{github.event.head_commit.message}}", "footer":{"text":"Pushed by ${{github.event.head_commit.author.name}}"} }]' + uses: Ilshidur/action-discord@master \ No newline at end of file