![]() ![]() Before we create our workflow we need to add a specific file to our repo called CNAME so github pages links this page to our custom domain. GitHub offers this flow with no effort for Jekyll but for HUGO some small additions needed to be done. My content is stored in a git repo on Github and I wanted that every commit I made to main would be automatically deployed to the website. I’m a developer so I wanted a fully automated workflow. Deploying every commit to Github Pages and host it on my custom domain This manual labor is not something I would prefer so I automated this in the next step where I also deploy everything to Github Pages. The json files are generated during compilation of the Hugo website and this json can then be uploaded on the website of Algolia for a first test. The only thing that was needed was creating an account and set up the API key and create an index.Īlgolia works with sending json files to the index. Luckely the theme I chose had this covered and supported search by a free 3rd party service. Hugo does not have support for search out of the box by itself. Fixed some issues in the algolia search json that was being generatedĪll these changes were quite simple without me knowing anything about Hugo, themes or GO templating.Added full posts to the RSS Feed instead of the summary. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |