New ask Hacker News story: Ask HN: How do you automate file upload to GitHub?

Ask HN: How do you automate file upload to GitHub?
3 by sirspacey | 1 comments on Hacker News.
I’ve been exploring Git workflows and curious how others would approach this challenge: We need to upload a file to GitHub on demand (a table routing JSON file to minimize API calls) and want to automate it so non-technical users can push the file. Our ideal workflow is to generate the JSON and push automatically via webhook or API call How would you approach it? Things you’d be concerned about with this approach? Some additional context: - We have to solve this problem in this way due to limitations with another code base we rely on. - this is a private repo so we aren’t concerned about merge issues, just overwriting the file is fine

Comments