Instruction file imported from cktnfla1234-svg/in-bite (
.cursor/rules/deploy-after-changes.mdc). Copyright stays with the author.
Deploy after modifications
When you finish changes to this repo (application code, config, scripts, or SQL that ships with the app), deploy automatically unless the user explicitly asked not to push or not to deploy.
- Run
npm run buildif you have not already confirmed a successful build in this turn. - Run
npm run deploy -- "<type>: concise description>"from the project root, using a short English conventional-style subject (for examplefix:,feat:,chore:). The script runs build again, commits any uncommitted changes with that message, andgit pushto trigger Vercel (GitHubmain).
If git push fails (auth, conflicts), report the error and tell the user what is blocking; do not claim deploy succeeded.
Skip deploy only when: the user said not to deploy/push; there were no file edits and nothing to ship; or the task was documentation-only and the user did not ask for deploy.