JanWennrich / boardgames

Static site generator for my boardgames hobby
https://janwennrich.github.io/boardgames/
0 stars 0 forks source link

Archive data used to generate page #2

Open JanWennrich opened 1 month ago

JanWennrich commented 1 month ago

The data used to generate the page (e.g. plays and owned games) should be archived/cached.

That could be done by serializing the data and pushing to the repository or returning them as build artifacts.

This should be done in case BoardGameGeek (BGG) goes down one day.

JanWennrich commented 1 month ago

The serialized data is now stored in the assets folder.
Thus it is also copied into the build folder and deployed to GitHub pages.
From there it can be downloaded for re-use

JanWennrich commented 1 month ago

A scheduled pipeline may be added, that downloads and commits the files