Recently I have set up the (Beautiful) Jekyll on GitHub.io and made it available on my own domain. But I was thinking if there is a way how to avoid GitHub.io and create own Git on Raspberry Pi (Raspbian) and connect it with RStudio for changing the blog. I found article that is cloning the GitHub.io repo and then pushing it live but making the changes to the blog is not very user friendly though. I have also found this but not sure if it's possible to expose it online and then pull the jekyll page from my domain (like CNAME and dns config on domain in case of GitHub.io).
Final solution should work similar to this: change the Jekyll blog in RStudio (saved on laptop / cloned the current version from Rasp git) -> push the change to GitHub on Raspberry (and most recent version is exposed to domain as in case of GitHub.io). Any ideas or experience on this?