/BlogHugo

Personal Hugo blog utilizing Docker and CI/CD via GitHub Actions.

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

BlogHugo

GitHub Workflow Status Hugo Version Nginx Version

BlogHugo is my automated blog website powered by Hugo, a popular static site generator. This repository provides a robust setup for building and deploying a Hugo-based blog using GitHub Actions and a custom Dockerfile, thereby utilizing GitOps methodologies. It streamlines the process of managing my blog, automating the build and test process, and ensuring my content stays up-to-date.

Overview

⭐ Features

  • Automatic Builds: With GitHub Actions, every push or pull request triggers an automated build process, ensuring the website is always current and bug-free.
  • Dockerfile: The Dockerfile included in this repository utilizes Nginx to serve the Hugo web content for easy deployment.
  • Hugo Version Compatibility: This setup is compatible with Hugo v0.101.0, ensuring that your website runs smoothly and takes advantage of the latest features.

🔍 Local Testing

Testing can be performed locally with the Hugo development server:

hugo server

🐋 Dockerfile

A Dockerfile is provided for convenience, and can be easily built and deployed:

docker build -t bloghugo .
docker run -p 8080:80 bloghugo:latest

🔏 License

See LICENSE

🤝 Acknowledgments

  • Hugo - The world's fastest framework for building websites.
  • GitHub Actions - Automate your workflow from idea to production.
  • Docker - Accelerate how you build, share, and run applications.