<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Github on Ilan Cohen</title><link>https://ilanco.dev/tags/github/</link><description>Recent content in Github on Ilan Cohen</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 02 Apr 2026 23:49:50 +0300</lastBuildDate><atom:link href="https://ilanco.dev/tags/github/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Host Hugo on Github Pages</title><link>https://ilanco.dev/blog/how-to-host-hugo-on-github-pages/</link><pubDate>Thu, 02 Apr 2026 23:49:50 +0300</pubDate><guid>https://ilanco.dev/blog/how-to-host-hugo-on-github-pages/</guid><description>&lt;h1 id="host-your-site-on-github-pages"&gt;Host Your Site on GitHub Pages&lt;/h1&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;Before getting started, make sure you’ve completed the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create and log in to your GitHub account&lt;/li&gt;
&lt;li&gt;Create a repository for your project on GitHub&lt;/li&gt;
&lt;li&gt;Initialize a local Git repository and connect it to your GitHub repo&lt;/li&gt;
&lt;li&gt;Set up a Hugo site inside your local repository&lt;/li&gt;
&lt;li&gt;Verify it works locally using &lt;code&gt;hugo server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Commit your changes and push them to GitHub&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="setup-guide"&gt;Setup Guide&lt;/h2&gt;
&lt;h3 id="step-1-enable-github-pages"&gt;Step 1: Enable GitHub Pages&lt;/h3&gt;
&lt;p&gt;Go to your repository on GitHub.
Navigate to &lt;strong&gt;Settings → Pages&lt;/strong&gt;, then set the &lt;strong&gt;Source&lt;/strong&gt; to &lt;strong&gt;GitHub Actions&lt;/strong&gt;.
This change applies immediately. No need to save.&lt;/p&gt;</description></item></channel></rss>