feat: Update CI/CD workflow to trigger separate backend and dashboard deployments; enhance deployment documentation with Nginx proxy details and OAuth callback URLs
This commit is contained in:
@@ -92,6 +92,7 @@ This project uses the arc42 template. Chapters are in `docs/`.
|
||||
3. Copy these values for runtime config (`bot_settings`):
|
||||
- `DISCORD_TOKEN` from Bot tab (Reset Token if needed)
|
||||
- `DISCORD_CLIENT_ID` from OAuth2 > General
|
||||
- `OAUTH_BRIDGE_REDIRECT_URI` as exact callback URL, recommended: `https://admin.openmicodyssey.com/oauth/discord/callback`
|
||||
4. In `Bot` > `Privileged Gateway Intents`, enable only:
|
||||
- `Server Members Intent` (required by current code)
|
||||
5. Keep these disabled unless code changes require them:
|
||||
@@ -171,6 +172,16 @@ npm run dev
|
||||
|
||||
Dashboard environment template: `admin-dashboard/.env.example`.
|
||||
|
||||
Recommended production OAuth callback URL:
|
||||
|
||||
- `https://admin.openmicodyssey.com/oauth/discord/callback`
|
||||
|
||||
This same URL must match:
|
||||
|
||||
- Discord OAuth2 redirect whitelist
|
||||
- `VITE_DISCORD_REDIRECT_URI`
|
||||
- `OAUTH_BRIDGE_REDIRECT_URI`
|
||||
|
||||
### Validation Commands
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user