- Add POST /user/email/code endpoint to send 6-digit verification code - Require email code verification before completing registration - Add email code cache with 10min TTL and 5/day send rate limit - Fix nil client guard, TLS conn leak, domain parsing, and Resend error body in email pkg - Deploy via ssh inline command using current branch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
340 B
Bash
Executable File
15 lines
340 B
Bash
Executable File
#!/bin/bash
|
|
|
|
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
|
|
git push origin "$BRANCH"
|
|
|
|
ssh ubuntu "
|
|
cd /home/yoge/Dev/doc_ai_backed &&
|
|
git checkout $BRANCH &&
|
|
git pull origin $BRANCH &&
|
|
docker compose -f docker-compose.infra.yml up -d &&
|
|
docker compose down &&
|
|
docker image rm doc_ai_backed-doc_ai:latest &&
|
|
docker compose up -d
|
|
" |