asw/deploy.sh
Vigilio Desto 7e02901597
Wave 2: content fixes, deploy pipeline, layout refinements
- dorveille.md: add ai-model/ai-provider frontmatter, restore mark tags
- hugo.toml: goldmark.renderer.unsafe=true (mark/abbr support)
- layouts: extract nav partial, fix JSON-LD, simplify list/index
- deploy.sh: push-to-render build script (webhook-receiver triggers it)
- render-footnotes.html: class-free footnote hook (staged for Hugo upgrade)
2026-04-10 17:41:21 +02:00

8 lines
258 B
Bash
Executable file

#!/bin/bash
# deploy.sh — rebuild ASW site from latest main
set -euo pipefail
cd ~/projects/asw
git pull origin main --ff-only
npm ci --prefer-offline 2>/dev/null
hugo --minify
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Deploy complete" >> /tmp/asw-deploy.log