Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Continuously Deploy a Hugo Site with GitLab CI

In case you hadn’t heard it on social media, The Polyglot Developer is part of a continuous integration (CI) and continuous deployment (CD) pipeline. Rather than using Hugo to manually build the site and then manually copying the files to a DigitalOcean VPS or similar, the Hugo changes are pushed to GitLab and GitLab takes care of the building and pushing.

Now you might be wondering why this is important because the process of manually building and pushing wasn’t so strenuous.

Having your web application as part of a CI / CD pipeline can streamline things that you would have otherwise needed to take into consideration. Here are some examples of where a pipeline would be of benefit, at least in the world of static website generation through tools like Hugo:

  • Multiple authors and developers can work on the project without knowing sensitive information like SSH keys.
  • Scheduled builds and deployments can be configured for content that is scheduled with a future date.
  • Docker images can be automatically created and uploaded to a Docker registry.

Those are just some of the examples, more specifically how things are done on The Polyglot Developer. In this tutorial, we’re going to explore how The Polyglot Developer is doing things and how you can adopt them into your static website generation workflow.

Read More

TPDP Episode #19: Automated Software Delivery For Cloud Native Applications

I’m pleased to announce that the latest episode of The Polyglot Developer Podcast titled, Automated Software Delivery for Cloud Native Applications, has been published to all the major podcast networks, including, but not limited to, iTunes and Pocket Casts.

In this episode I’m joined by Jim Clark who is the Chief Architect at a software delivery as a service company called Atomist, where we discuss software delivery and how it can be improved within organizations to make relevant teams within them more efficient.

Read More

TPDP Episode #11: Continuous Integration And Deployment For The Polyglot Developer

Continuous integration (CI) and continuous deployment (CD) are terms that I hear thrown around quite frequently. I’ve been a software developer for a long time, but it is only recently that I’ve welcomed these terms into my life. CI and CD is the automated process of running various tasks such as unit testing or building a version controlled project. In this episode of The Polyglot Developer Podcast, I have guest speaker Ivan Nemytchenko, from GitLab, helping me explain what continuous integration is all about and why GitLab has gone ahead and made a completely free set of tools around it.

Read More