mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-09-02 10:20:14 +00:00
fix(deploy): include coin module in ModulesCSV overrides
coin was registered in the catalog and template default but absent from the ModulesCSV override in both deploy.yml and samconfig.toml, so the deployed Lambda never loaded it and all coin_* commands went unregistered. Add a registration checklist to docs/deploy-aws.md to prevent recurrence.
This commit is contained in:
@@ -60,7 +60,7 @@ jobs:
|
||||
# Telegram user IDs are public (visible to anyone the bot DMs), so
|
||||
# they live in this committed workflow rather than a secret.
|
||||
# Keep this module list in sync with samconfig.toml's ModulesCSV.
|
||||
OVERRIDES="CronSharedSecret=$CRON_SECRET BotOwnerID=1064111334 AdminUserIDs=1064111334 ModulesCSV=util,misc,wordle,loldle,lolschedule,twentyq,trading,stats,gold"
|
||||
OVERRIDES="CronSharedSecret=$CRON_SECRET BotOwnerID=1064111334 AdminUserIDs=1064111334 ModulesCSV=util,misc,wordle,loldle,lolschedule,twentyq,trading,stats,gold,coin"
|
||||
if [ -n "$ALERT_EMAIL" ]; then
|
||||
OVERRIDES="$OVERRIDES AlertEmail=$ALERT_EMAIL"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user