A modern Hugo-powered blog with automated GitHub Pages deployment. This repository showcases best practices for static site generation, continuous deployment, and clean documentation.
🌐 Live Site: https://seheheiden.github.io
content/
or update configurations as needed.hugo server -D
to preview on http://localhost:1313
.git add .
, git commit -m "message"
, git push
.main
branch onlyhugo server
├── .github/workflows/ # GitHub Actions CI/CD pipeline
│ └── deploy.yml # Automated deployment workflow
├── content/ # Markdown content and blog posts
│ └── posts/ # Blog articles
├── static/ # Static assets (images, files)
├── layouts/ # Custom Hugo templates
├── assets/ # Source assets (SCSS, JS)
├── themes/ # Hugo themes (as submodules)
├── hugo.toml # Hugo configuration
├── build.ps1 # Windows build script
├── build.sh # Unix build script
├── DEPLOYMENT.md # Detailed deployment guide
└── README.md # This file
public/
- Built static siteresources/
- Hugo cache and processed assets.hugo_build.lock
- Hugo build lock fileComponent | Version/Details |
---|---|
Hugo | 0.147.9 Extended |
Node.js | Latest LTS (for npm dependencies) |
Dart Sass | Latest (via snap) |
Deployment | GitHub Actions + GitHub Pages |
Build Time | ~30-60 seconds |
Deploy Time | ~1-3 minutes total |
./build.ps1
../build.sh
.For automatic deployment, ensure GitHub Pages is set to build from GitHub Actions:
main
to deploy.# Create a new blog post
hugo new posts/my-new-post.md
# Start development server
hugo server -D
# Build for production
hugo --gc --minify
# Make your changes
git add .
git commit -m "Add new post: My Amazing Article"
git push origin main
# GitHub Actions will automatically build and deploy!
static/
directoryhugo --verbose --debug
for detailed diagnosticsgit submodule update --init --recursive
Your site is configured for effortless deployment. Focus on creating great content while the automation handles all the technical details. Happy writing! ✍️