Update email from address and add deploy script

- Fix EMAIL_FROM to use contact.golfcards.club subdomain
- Add scripts/deploy.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken 2026-02-22 00:36:38 -05:00
parent b81874f5ba
commit 82e5226acc
2 changed files with 10 additions and 1 deletions

View File

@ -26,7 +26,7 @@ services:
- REDIS_URL=redis://redis:6379
- SECRET_KEY=${SECRET_KEY}
- RESEND_API_KEY=${RESEND_API_KEY:-}
- EMAIL_FROM=${EMAIL_FROM:-Golf Cards <noreply@golfcards.club>}
- EMAIL_FROM=${EMAIL_FROM:-Golf Cards <noreply@contact.golfcards.club>}
- SENTRY_DSN=${SENTRY_DSN:-}
- ENVIRONMENT=production
- LOG_LEVEL=INFO

9
scripts/deploy.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
set -e
DROPLET="root@165.245.152.51"
REMOTE_DIR="/opt/golfgame"
echo "Deploying to $DROPLET..."
ssh $DROPLET "cd $REMOTE_DIR && git pull origin main && docker compose -f docker-compose.prod.yml up -d --build app"
echo "Deploy complete."