Gitlab CI for Hugo
I have been playing around with a private Gitlab server. My goal was to automatically build and deploy my hugo site for my private web server. After looking around in the internet for similar solutions, I came up with the following solution for .gitlab-ci.yml stages: - build - deploy build: stage: build image: registry.gitlab.com/pages/hugo/hugo_extended:latest script: - hugo artifacts: paths: - public only: - master # deploy with ftp following instructions from https://www.
read more