- asw.css → main.css (just imports, no theming :root)
- 01-tokens.css → 01-asw.css (this IS the ASW design system)
- Removed empty :root {} theming block
- Updated deploy.sh PostCSS path
9 lines
309 B
Bash
Executable file
9 lines
309 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
|
|
npx postcss assets/css/main.css -o assets/css/asw-built.css
|
|
hugo
|
|
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Deploy complete" >> /tmp/asw-deploy.log
|