So, I have a Github repository where some files will be added or updated manually or through a merge from feature branch to main branch. I want to know how can I call another external microservice Rest api endpoint (.Net 6.0 endpoint), whenever files are added/updated to this Github repository or merged from feature branch to main branch?
These are custom files (consider .txt files) which also need to be sent to the external microservice api endpoint so that this endpoint can process received files and save the data to DB.
Can someone pls help in solution to above question so that I can push the modified/added files from Github repo to call Rest api endpoint?
I looked into this link for solution but could not understand it? Can I use Github actions for solution to this problem (and how?) or is there any alternate solution? Any link to solution will also help... Thanks..