Migrate deployment from DigitalOcean to Unraid

Remove:
- .do/app.yaml, .do/deploy.template.yaml
- .github/workflows/deploy.yml (DO App Platform pipeline)

Add:
- deploy.sh (SCP-based deploy to Unraid nginx)

New stack:
- Gitea bare repo on Unraid (/mnt/cache/docker/gitea)
- Ruby container builds Jekyll on push via post-receive hook
- Nginx serves static site on port 8100
- Caddy proxies simcoetradesjournal.krisforbes.ca + simcoetradesjournal.ca
This commit is contained in:
Your Name
2026-08-02 10:32:41 -04:00
parent 87bd747c33
commit c8b729beb6
4 changed files with 19 additions and 109 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
# Deploy simcoetradesjournal to Unraid via SCP
set -e
REPO_DIR="$(cd "$(dirname "$0")" && pwd)"
REMOTE="root@192.168.0.123"
REMOTE_DIR="/mnt/better/appdata/simcoetradesjournal"
echo "🔨 Building Jekyll site..."
cd "$REPO_DIR"
bundle exec jekyll build
echo "📦 Syncing to Unraid..."
rsync -av --delete \
--exclude '.git' \
"$REPO_DIR/_site/" \
"$REMOTE:$REMOTE_DIR/"
echo "✅ Deployed. Site live at https://simcoetradesjournal.krisforbes.ca"