Created on 01-11-2020 09:27 AM - edited 09-16-2022 07:34 AM
Hi,
I have a scenario, where I have to copy files to github from local directory is it possible?
if any reference templates available plz share.
Thanks
--Murali
Created 01-12-2020 03:40 AM
Created 01-12-2020 04:48 AM
H Charan,
Thanks for the information provided, here what what I looking is something like GetFile and PutFile to GitHub, not actually upload/download or push/pull.
I am looking for copy and past something like that.
Thanks
--Murali
Created 01-12-2020 05:44 AM
@murali2425 You could build a nifi flow that could “copy” files to guthub. This would need to be done by creating a custom processor or maybe even just ExecuteScript to run a custom python script.
Either route you take you would need to make sure that all nifi nodes are setup with permissions to write to the github repo. Then inside of your custom processor or script you would execute the required git commands to commit (“copy”) the file(s).