Closed tiffanychu90 closed 4 years ago
We can start by adding the upload function to the new civis utils package. The hard coded repo, branch name, token name, etc can all be made parameters of the function.
I think by using fsspec.open
it will automatically work for both local and remote files, but we should verify.
Use Civis robot user to do a scheduled
git add
,git commit
,git push
and overwrite files on GitHub. Can be used to overwrite the CSVs or push to GitHub pages.