I am using one Github repository to host a portfolio website on the root of my domain. Now I want a separate GitHub repository to host the blog section at the subdirectory of my domain "www.example.com/blog". How do I approach this? I am using Publii as a CMS for my blog section. My DNS settings are managed by Cloudflare.
1 Answer
There is a pretty good article on this @ Github. Basically you can set new origin in the sub directory "blog".
And you have some other options like submodules and subtrees. See the answer @ Stackoverflow.