fix: add ADMIN_* env vars to deploy workflow .env.prod generation
All checks were successful
Deploy to Production / deploy (push) Successful in 1m7s

Without these variables the admin user seed was skipped in production.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
zephyrdark 2026-02-08 22:28:08 +09:00
parent 1dae2945c3
commit eadc935e46
2 changed files with 8 additions and 0 deletions

View File

@ -20,3 +20,8 @@ DART_API_KEY=your_dart_api_key
# CORS (comma-separated origins, used by backend)
CORS_ORIGINS=https://your-domain.com
# Admin user (auto-created on startup if not exists)
ADMIN_USERNAME=your_admin_username
ADMIN_EMAIL=your_admin_email
ADMIN_PASSWORD=your_admin_password

View File

@ -32,6 +32,9 @@ jobs:
KIS_ACCOUNT_NO=${{ secrets.KIS_ACCOUNT_NO }}
DART_API_KEY=${{ secrets.DART_API_KEY }}
CORS_ORIGINS=${{ secrets.CORS_ORIGINS }}
ADMIN_USERNAME=${{ secrets.ADMIN_USERNAME }}
ADMIN_EMAIL=${{ secrets.ADMIN_EMAIL }}
ADMIN_PASSWORD=${{ secrets.ADMIN_PASSWORD }}
EOF
- name: Deploy with Docker Compose