- Reject unknown --flags with error instead of silently treating as commit SHA
- Declare remote_hash as local to prevent stale values across loop iterations
- Use associative array for container names (consistent with DEPLOY_HOST pattern)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
deploy.sh now checks local vs remote templates via md5sum on every
deploy and warns about drift. Pass --sync-templates to push changed
files. Also reports cached card image counts on the target server.
New clear-card-cache.sh script inspects or clears cached PNG/APNG
card images inside the API container, with --apng-only and --all
modes. Added scripts/README.md documenting all operational scripts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Closes PR #190 (chore/deploy-script — applied directly due to Gitea rebase conflict from stale branch base)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>