i wouldn't ask you to open source this place Good, though I think if you did it would be cool and I would def contribute code
I don't understand how it is you are able to run a server which points to github hosted files. Can you please tell me more about that or give me a link where I can learn more?
I have never done the entire thing myself, I have just seen it at 2 jobs already being done. It is like this, you install git on the server machine and have a batch file, or other more complex infrastructure, and do a git -fetch command. Then you read the result of this command, if there are new commits, you can do git -pull again via the batch file or something, once it is pulled you can compile the new code, again via a batch command. And you can publish it via a batch command. If u use linux, it would just be different commands, or maybe even the same idk the exact syntaxes.
I have done some of this process at my prev job, but not the entire thing. We used Jenkins to do our builds there, it basically ran the batch commands I talked about.
Now you need a way to trigger this batch file every 24 hours, how to do that idk on the top of my head, but 100% there are multiple ways to do it.
I dont have a tutorial at hand, but you can google each step that eludes you. I just googled "how to run a batch file every 24 hours" and got this (on first glance looks good):
https://helpdeskgeek.com/windows-11/how-to-schedule-a-batch-file-to-run-in-windows-11-10-using-task-scheduler/#:~:text=Schedule%20Batch%20Files%20With%20Windows%20Task%20Scheduler,-Place%20your%20bat&text=Start%20the%20process%20by%20opening,to%20run%20your%20batch%20file.
Depends on your server too, if you have full access to it, if its a windows or a linux and so on.
You can also ask ChatGPT btw, I think that would be the best course of action, not even joking. I used it to learn how to use SignalR library for example. I didn't even know about this library, till GPT told me.
Just ask it the same question as here.