The guy who stumbled upon failing to publish a blog on github pages on Pelican

Search on pelican github pages on google-> make various things. I was able to do it, but I stumbled on it publicly.

The user page site on github pages only exposes the files at master. https://help.github.com/articles/user-organization-and-project-pages/ At first I wasn't sure, and I was confused by doing ghp-import output and switching the branch to gh-pages.

  1. Writing with master, setting files such as py css html
  2. make html-> ghp-import output-> git push origin gh-pages: master pushes the html output to gh-pages to the remote master. It will be published now.
  3. Create setting or something in the remote repository with protection and save the settings with git push origin master: setting.

I made it like that. It doesn't have to be master.

Recommended Posts

The guy who stumbled upon failing to publish a blog on github pages on Pelican
How to publish a blog on Amazon S3 with the static Blog engine'Pelican'for Pythonista
How to publish GitHub Pages with Pelican, a static HTML generator made by Python
Scrap the published csv with Github Action and publish it on Github Pages
I tried a visual regression test on GitHub Pages