<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Automation on Gyula's blog</title><link>https://gyk.ro/categories/automation/</link><description>Recent content in Automation on Gyula's blog</description><generator>Hugo</generator><language>en-us</language><copyright>&amp;copy; 2017-2024. All rights reserved.</copyright><lastBuildDate>Thu, 04 Mar 2021 21:45:22 +0200</lastBuildDate><atom:link href="https://gyk.ro/categories/automation/index.xml" rel="self" type="application/rss+xml"/><item><title>Automating the Blog... again</title><link>https://gyk.ro/2021/03/automating-the-blog...-again/</link><pubDate>Thu, 04 Mar 2021 21:45:22 +0200</pubDate><guid>https://gyk.ro/2021/03/automating-the-blog...-again/</guid><description>&lt;p>Unsurprisingly, less painful&lt;/p>
&lt;p>Github actions are wonderful, love the integration, and you can find pretty much
everything you need on the marketplace.&lt;/p>
&lt;p>The workflow is almost the same:&lt;/p>
&lt;ol>
&lt;li>Checkout&lt;/li>
&lt;li>Get Hugo&lt;/li>
&lt;li>Build with Hugo&lt;/li>
&lt;li>Rsync&lt;/li>
&lt;/ol>
&lt;p>you can check out the yaml &lt;a href="https://github.com/gardient/gyulakerezsi.tech/blob/master/.github/workflows/main.yml">here&lt;/a>&lt;/p>
&lt;h3 id="differences">Differences&lt;/h3>
&lt;p>I don&amp;rsquo;t need to keep a Hugo executable in the repo, there is an Action that gets
the latest version for me.&lt;/p>
&lt;p>I can keep the ssh key in a repository secret instead of the janky encrypted file
that I used before, there probably was a way with Travis, but nothing quite as simple&lt;/p></description></item><item><title>Automating the Blog</title><link>https://gyk.ro/2017/12/automating-the-blog/</link><pubDate>Fri, 08 Dec 2017 21:32:41 +0200</pubDate><guid>https://gyk.ro/2017/12/automating-the-blog/</guid><description>&lt;p>So today after a long while I finally got around to automating the deploy of
the blog.&lt;br>
Tough not the way I initially thought.&lt;/p>
&lt;p>The first idea was to install Hugo on the server and have it periodically pull
and rebuild the &lt;a href="https://github.com/gardient/gyulakerezsi.tech">repository&lt;/a>&lt;/p>
&lt;p>Then I remembered Travis CI.&lt;/p>
&lt;p>I quickly looked it up, and saw that I was not the first to think up the idea
(no big surprise there), so let&amp;rsquo;s see what we can find.&lt;/p></description></item></channel></rss>