Upload to Vercel
When the user invokes /upload, commit and push all changes to deploy the site via Vercel.
Steps
- •Run
git statusandgit diffto review all changes - •Stage the changed files with
git add(prefer adding specific files overgit add .) - •Write a clear, concise commit message summarizing the changes
- •Commit with the message
- •Push to the remote (
origin main) - •Confirm to the user that the changes have been pushed and Vercel will deploy shortly
Rules
- •Always use
eval "$(/opt/homebrew/bin/brew shellenv zsh)"before git commands if needed - •Never force push
- •Never skip pre-commit hooks
- •If there are no changes to commit, let the user know