Automatically merges multiple iCalendar (.ics) files inside the calendar/ folder into a single calendar.ics published directly to a Secret GitHub Gist.
- Add, modify, or remove
.icsfiles in thecalendar/folder. - Pushing changes triggers a GitHub Action that parses all
VEVENTentries across your calendar files. - The workflow patches the combined calendar directly to your private, unlisted GitHub Gist via API.
.
βββ .github/
β βββ workflows/
β βββ merge.yml # Auto-merge and Gist sync workflow
βββ calendar/
βββ .UPLOAD ICS FILES HERE # Base calendar template
- Go to gist.github.com.
- Create a file named
calendar.icswith basic.icsstructure and click Create secret gist. - Copy the Gist ID from the URL (
https://gist.github.com/username/GIST_ID).
Go to Settings > Secrets and variables > Actions in this repository and add:
GIST_ID: Your Secret Gist ID.GIST_TOKEN: A GitHub Personal Access Token (classic) with thegistpermission scope enabled.
- Head to
https://gist.githubusercontent.com/<USERNAME>/<GIST_ID>/raw/calendar.ics. - Copy the resulting URL into Apple Calendar, Google Calendar, or Outlook to subscribe.