Files
blog/.gitea/workflows/hugo.yml
2026-02-14 21:07:55 -05:00

14 lines
495 B
YAML

with:
host: 172.20.1.231
username: root
password: ${{ secrets.SERVER_PASSWORD }}
script: |
cd /var/www/blog
git pull origin main --recurse-submodules
# Build the site. This updates the /public folder.
hugo --minify --baseURL="https://dustin.coffee"
# Caddy is already running as a service.
# It sees the new files in /public immediately.
# No restart or pkill required!