Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

Update push_events_to_discord.yml

John Guanfc5e351f0bc3
diff --git a/.github/workflows/push_events_to_discord.yml b/.github/workflows/push_events_to_discord.yml
index bb121b6..9fe98a1 100644
--- a/.github/workflows/push_events_to_discord.yml
+++ b/.github/workflows/push_events_to_discord.yml
@@ -24,7 +24,7 @@ jobs:
steps:
- name: General Discussions & Comments
- if: ${{ ( github.event_name == 'discussion' || github.event_name == 'discussion_comment' ) && github.event.discussion.name == "General" }}
+ if: ${{ ( github.event_name == 'discussion' || github.event_name == 'discussion_comment' ) && github.event.discussion.category.name == 'General' }}
uses: joseph-montanez/[email protected]
with:
webhook: ${{ secrets.Discord_CasaOS_General_Webhook }}