I have a script that locally generates a new report weekly, which I then push to GitHub. I want to continue hosting the archived reports in the /docs directory of my repo to use GitHub Pages. I'd like to push the new report there when the script runs, but not have to pull the archived reports stored there.
Basically, my repo looks like this:
root
├── script
├── functions
└── docs
├── archived_report_1
├── archived_report_2
├── archived_report_3
⋮
└── newest_report
And when I pull to make edits, I'd like to just pull this:
root
├── script
├── functions
└── docs
And still be able to push to the docs directory. How do I make this happen?
Thanks. Still learning here.