Files
kestrelsnest-blog/deploy
T
Eric WagonerandClaude Opus 4.8 f6611257b3 Add themed board game library at /mygames/
Embed the bggpipe "Game Shelves" export (static/games/) into a themed
Hugo page. A small loader (embed.js) fetches each export page, lifts out
its <main>, rewrites relative URLs, and rewires game links to ?g=<slug>
so the blog chrome stays on every page; embed.css scopes the export's
component styling to the embed. The export itself is untouched and stays
re-exportable. Adds the menu entry and excludes badges/ from deploy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-06 19:15:26 -04:00

12 lines
429 B
Bash
Executable File

#!/bin/sh
USER=admin
HOST=social
DIR=../../var/www/blog/www # the directory where your web site files should go
# Clean build directories to force full regeneration
rm -rf public resources
# Build site and index, then deploy
hugo && pagefind --site public && rsync -avz --no-t --no-p --delete --exclude=badges/ public/ ${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder
exit 0