jobindjohn / obsidian-publish-mkdocs

A Template to Publish Obsidian/Foam Notes on Github Pages (uses MkDocs)
Creative Commons Zero v1.0 Universal
563 stars 38 forks source link

No gh-pages branch #11

Closed dixonge closed 2 years ago

dixonge commented 2 years ago

I have main, that's it. How can I add it if it isn't there?

robertjoramo commented 2 years ago

When creating the branch through the template, make sure to "Include all branches":

image

eleqtrizit commented 2 years ago

The setup guide is ambiguous on this topic. It should be more clear. This line makes it sounds like we should do the opposite. "Copy only the main branch while creating the repo from the template"

jobindjohn commented 2 years ago

@dixonge, @eleqtrizit, @robertkj : The Github actions will run after you create the new repository and push the built html to a newly created gh-pages branch on your repo. This could take few minutes. You will then need to go to the settings to specify this branch.