Open bdecost opened 3 years ago
So 1) all template libraries, and even the central repo should be equipped with a .gitignore for those files (csv, xml, html, json, ...) 2) the automated script should be adjusted to ignore the gitignore
Here is the implementation I drew inspiration from for this architecture. You can see how they ignore specific files here on line 23: https://github.com/alex/nyt-2020-election-scraper/blob/ba249bc68b533b160398dcf1d21641c2f80920ca/.github/workflows/pr.yml#L23
Full repo: https://github.com/alex/nyt-2020-election-scraper
from the PR guidelines:
We should help contributors out by adding these files to .gitignore, and using
git commit --force
or something in CI scripts for static site generation