As a hip, cutting edge developer, you’re using Hugo to generate your blog or website. Wordpress… pssh, you’re way too cool for that. Being cool has its complications though. How and where should you deploy your Hugo app. Should you push it locally using rsync or some other fancy means? Whatever. This simple post is going to show you how to deploy your Hugo app using Gitlab’s Continous Integration feature.
What is Gitlab An alternative to Github with many more features and an increasly better offering Free Private Git Repositories On of Github’s price points is to offer you a limited number of private repositories. You want more, pay more. Then Bitbucket came along and offered free private repositories, but limited the number of people you could share those repositories, it made for some weird accounting at the end of the day.
Maybe you work on different git projects, on business, then at home for personal projects. In the past, as a convenience, I set my
~/.gitconfig to include my name and email like the following.
Just a hint, it’s a lot easier than Subversion. My love for Subversion grows colder each day. In your repository root directory you’ll want to create a file called .gitignore. In that file you’ll want to specify files and folders to ignore. For example. Ignore the entire Magento /media folder. media/**/* The root repository .gitignore file will act as a global but can be overridden in subdirecties by creating a .