Add Hugo static site with homepage, resume, and blog sections

This commit is contained in:
2026-02-12 13:49:00 -05:00
parent 6f2b9a076f
commit 24b129cfe2
50 changed files with 1566 additions and 2 deletions

22
deploy.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Deployment script for Hugo site on LXC container
# Run this script after SSH-ing into the container and navigating to the site directory
set -e # Exit on error
echo "Starting deployment at $(date)"
# Pull latest changes from git
echo "Pulling latest changes from git..."
git pull
# Build the site with minification
echo "Building site with Hugo..."
hugo --minify
echo "Deployment completed successfully at $(date)"
echo "Site updated in ./public directory"
# Optional: Reload nginx if configuration changed
# echo "Reloading nginx..."
# sudo systemctl reload nginx