othyn / go-calendar

A community driven auto-updating Pokémon GO events calendar that you can subscribe to in any calendar app on your phone/PC. Powered by Leek Duck.

Home Page:https://gocalendar.info/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing download links for event type calendars

othyn opened this issue · comments

commented

The release workflow needs to dynamically load the relative file paths what files it should attach to the release, as this cannot be a fixed list for the same reasons as with the static site generator - if Leek Duck add a new event type, the calendar generation will automatically handle it, but it needs to be automatically refected in static resources such as the website and the releases to avoid the project going stale from requiring manual intervention.

The static site got around that, now need to also tackle the release action. Thinking of adding the dynamic asset file path to the dist/manifest.json as a new key, so no processing is required in the action as its just a straight list of generated calendar paths, and reading that out with a step, then passing the paths variable into the release files: key.