Initial commit: Fat Kiss site — Hugo + Decap CMS

This commit is contained in:
2026-05-11 08:19:27 -10:00
commit aa0287eeaa
58 changed files with 3774 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
REMOTE="benjoe@172.233.145.18"
DEST="/var/www/getfatkiss.com/public_html/"
SRC_DIR="/home/benjoe/getfatkiss"
echo "[deploy] Building..."
bash scripts/build.sh
echo "[deploy] Syncing to Hub..."
rsync -az --delete public/ "${REMOTE}:${SRC_DIR}/public/"
echo "[deploy] Deploying to live webroot..."
ssh "${REMOTE}" "sudo rsync -az --delete ${SRC_DIR}/public/ ${DEST} && sudo chown -R www-data:www-data ${DEST}"
echo "[deploy] Done → https://getfatkiss.com/"