You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the public folder using git rm -rf public/.
Use git submodule add -b master --force https://github.com/ummc-bc/ummc-bc.github.io.git public to create a git submodule of the public site folder at the ummc-bc.github.io repository.
Regenerate the site with the following command in the top level of the github repository: hugo -t hugo-icarus-theme
Change directories to the public folder: cd public
Now, add your changes to git and push to Github to publish the site.
git add .
git commit -m "Added a post titled `How to Code`"
git push origin master
Remove the public folder using rm -rf public/.
Update the blog repository with your changes i.e. new post.
git add .
git commit -m "Added a new post"
git push origin master