<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ci on slightlymore</title><link>https://slightlymore.co.uk/tags/ci/</link><description>Recent content in Ci on slightlymore</description><generator>Hugo</generator><language>en-GB</language><copyright>&lt;a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="license"&gt;CC BY 4.0&lt;/a&gt; by Clinton Montague</copyright><lastBuildDate>Mon, 01 Dec 2025 10:15:24 +0000</lastBuildDate><atom:link href="https://slightlymore.co.uk/tags/ci/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploying a Hugo site using Github Actions</title><link>https://slightlymore.co.uk/deploying-a-hugo-site-using-github-actions/</link><pubDate>Thu, 20 Nov 2025 00:00:00 +0000</pubDate><guid>https://slightlymore.co.uk/deploying-a-hugo-site-using-github-actions/</guid><description>&lt;p&gt;I thought I&amp;rsquo;d share my github action which deploys this site whenever a push a new file to &lt;code&gt;main&lt;/code&gt;. It compiles the site with &lt;code&gt;hugo&lt;/code&gt; and the &lt;code&gt;rsync&lt;/code&gt;s across to the server.&lt;/p&gt;
&lt;p&gt;This means that my workflow is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;fire up neovim and write&lt;/li&gt;
&lt;li&gt;commit and push&lt;/li&gt;
&lt;li&gt;sit back and wait for the site to update&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The code for the action is below. It requires a couple of secrets to be set up:&lt;/p&gt;</description></item></channel></rss>