Check for Edge Function changes and provide Lovable deployment prompts.
Check for Edge Function changes and generate Lovable deployment prompts. Automatically deploys if yolo mode is enabled.
/plugin marketplace add 10K-Digital/lovable-claude-code/plugin install 10k-digital-lovable@10K-Digital/lovable-claude-codeCheck for Edge Function changes and generate Lovable deployment prompts.
Check for changes in supabase/functions/:
Verify code is pushed:
mainDetect new secrets:
Deno.env.get("SECRET_NAME")Generate deployment prompt:
For specific function:
π **LOVABLE PROMPT:**
> "Deploy the [function-name] edge function"
For multiple functions:
π **LOVABLE PROMPT:**
> "Deploy all edge functions"
β οΈ **New secret required**: `SECRET_NAME`
Before deploying:
1. Go to Cloud β Secrets
2. Add: SECRET_NAME = [your value]
3. Then deploy the edge function
After deploying, verify with:
> "Show logs for [function-name] edge function"
After generating the prompt, check if yolo mode is enabled:
Read CLAUDE.md:
## Yolo Mode Configuration (Beta) sectionStatus fieldTesting and Debug Mode settingsIf Status: on:
/skills/yolo/SKILL.md)Testing: on
e. Show deployment summaryIf Status: off or not found:
π‘ **Tip:** Automate deployments with yolo mode!
Run: /lovable:yolo on
Benefits: No manual copy-paste, automatic testing
## Edge Function Changes
Modified functions:
- `send-email` - Updated email template
- `process-payment` - Added refund handling
β οΈ Uncommitted changes detected. Commit and push first:
git add . && git commit -m "Update edge functions" && git push
π **LOVABLE PROMPT:**
> "Deploy all edge functions"
After deployment, verify:
> "Show logs for send-email edge function"
π‘ **Tip:** Automate deployments with yolo mode!
Run: /lovable:yolo on
Benefits: No manual copy-paste, automatic testing
## Edge Function Changes
Modified functions:
- `send-email` - Updated email template
β
All changes committed and pushed to main
π€ Yolo mode: Deploying send-email edge function
β³ Step 1/7: Navigating to Lovable project...
β
Step 2/7: Located chat interface
β
Step 3/7: Submitted prompt: "Deploy the send-email edge function"
β³ Step 4/7: Waiting for Lovable response...
β
Step 5/7: Deployment confirmed
β³ Step 6/7: Running verification tests...
β
Step 7/7: All tests passed
## Deployment Summary
**Operation:** Edge Function Deployment
**Function:** send-email
**Status:** β
Success
**Duration:** 38 seconds
**Verification Tests:**
1. β
Basic verification: Deployment logs show no errors
2. β
Console check: No errors in browser console
3. β
Functional test: Function endpoint responds (200 OK)
**Production Status:**
- Function is live and responding
- No errors detected
- Ready for use
π‘ Yolo mode is enabled. Run `/lovable:yolo off` to disable.