Calendar subscription URLs for external calendar apps

If I am a member of two different communities (and their permission groups), the “https://discourse.example.com/discourse-post-event/events.ics“ shows the events of both communities. Thats correct so far. But both communities may have their own website. If I want to share the events from Discourse on their websites, I would only want to see the events of “community A” but not “community B”. And vice versa.