Compare commits

..

4 Commits

Author SHA1 Message Date
190484040d fixed date 2026-02-14 21:19:42 -05:00
2d8c892c50 webhook 2026-02-14 21:10:47 -05:00
12d3317866 Merge branch 'main' of https://git.dustin.coffee/hobokenchicken/blog
Some checks failed
Hugo CI/CD / deploy (push) Has been cancelled
2026-02-14 21:10:01 -05:00
15a2da9c05 moved to webhook 2026-02-14 21:07:55 -05:00
2 changed files with 15 additions and 29 deletions

View File

@@ -1,15 +1,3 @@
name: Hugo CI/CD
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1.0.3
with: with:
host: 172.20.1.231 host: 172.20.1.231
username: root username: root
@@ -18,11 +6,9 @@ jobs:
cd /var/www/blog cd /var/www/blog
git pull origin main --recurse-submodules git pull origin main --recurse-submodules
# Build the static site (The 'Hugo Way') # Build the site. This updates the /public folder.
hugo --minify hugo --minify --baseURL="https://dustin.coffee"
pkill -f "hugo server" || true # Caddy is already running as a service.
sleep 2 # It sees the new files in /public immediately.
nohup hugo server --bind 0.0.0.0 --port 1313 --baseURL=https://dustin.coffee --appendPort=false --disableLiveReload > /var/log/hugo.log 2>&1 & # No restart or pkill required!
sleep 3
curl -f https://dustin.coffee || echo "Health check failed - check /var/log/hugo.log"

View File

@@ -1,7 +1,7 @@
--- ---
layout: post layout: post
title: "fresh brew overhaul: hugo, gitea actions, ai skills, and site tweaks" title: "fresh brew overhaul: hugo, gitea actions, ai skills, and site tweaks"
date: YYYY-MM-DD HH:MM:SS -0000 date: "2026-02-13"
categories: [tech, development, ai, projects] categories: [tech, development, ai, projects]
tags: [hugo, gitea, agents, skills, automation, blog] tags: [hugo, gitea, agents, skills, automation, blog]
--- ---