mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-06-08 18:16:54 +00:00
85579e56ef
CI's --parameter-overrides replaces (not merges with) samconfig.toml's parameter_overrides, so BOT_OWNER_ID was empty in the deployed Lambda. deploynotify silently skipped sending the post-deploy DM, and all Protected/Private commands were denied. Extract the values from samconfig.toml at deploy time so the file remains the single source of truth for non-secret deploy params. Also add 'stats' to samconfig.toml's ModulesCSV so local `sam deploy` doesn't regress the stats module.