CityOfLosAngeles / covid19-indicators

Key COVID-19 and public health indicators for reopening
Apache License 2.0
8 stars 1 forks source link

Add function to Civis utils #21

Closed tiffanychu90 closed 4 years ago

tiffanychu90 commented 4 years ago

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.

ian-r-rose commented 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.

tiffanychu90 commented 4 years ago

Closing via this and this aqueduct PR