Deploying Static Sites generated with Swift and Publish with Gitlab CI/CD
By the end of this tutorial, you will be able to build and deploy a static website generated with Swift on Gitlab Pages with a CI/CD pipeline.
Even though there are many static site generators available on various toolchains, I really enjoy using Swift from top to bottom for as much of any project I am working on. To that effect, Publish is a great solution and it works as intended. Publish uses Ink, a Markdown parser written in in Swift, and Plot, a domain-specific language (DSL) for writing type-safe HTML, XML and RSS in Swift, which was recently updated to build HTML components in a more SwiftUI like fashion.
Let's have a look at how it works. Become a free member or log in to proceed.