Site Deployer
--- name: site-deployer description: Deploy Next.js sites to Netlify with approval gates. Supports soilrichbyjohn.com and Synergy salon. homepage: https://github.com/martc03/openclaw-ultimate metadata
Description
name: site-deployer description: Deploy Next.js sites to Netlify with approval gates. Supports soilrichbyjohn.com and Synergy salon. homepage: https://github.com/martc03/openclaw-ultimate metadata: {"clawdbot":{"emoji":"🚀"}} version: 1.0.0 author: martc03 tags: [deployment, netlify, nextjs, devops] permissions: fileAccess: [~/soilrich-website, ~/synergy-website] commands: [git, npm, npx, netlify] network: [api.netlify.com, github.com]
Site Deployer
Deploy and manage Next.js websites on Netlify from your phone.
Sites
| Site | Domain | Repo |
|---|---|---|
| soilrich | soilrichbyjohn.com | ~/soilrich-website |
| synergy | Synergy salon | ~/synergy-website |
Commands
deploy [site]
Build and deploy a site to Netlify. Requires explicit user approval before executing.
deploy soilrich
deploy synergy
Execution steps:
cd ~/[site]-website && git pullnpm run buildnetlify deploy --prod- Log result to Notion "Deploy History" database
deploy status [site]
Check the current deployment status on Netlify.
deploy status soilrich
Runs netlify status in the site's repo directory.
deploy rollback [site]
Rollback to the previous deployment. Requires explicit user approval.
deploy rollback soilrich
Uses netlify rollback to revert to the previous production deploy.
deploy logs [site]
Show recent deploy logs from Netlify.
deploy logs synergy
Runs netlify deploy --json | jq '.[-5:]' to show the last 5 deploys.
Approval Gate
All deploy and rollback commands require the user to confirm before executing. The agent must:
- Present a summary of what will be deployed (site name, current branch, latest commit)
- Wait for explicit "yes" or "confirm" response
- Only then execute the deploy
Notion Integration
After each deploy, create an entry in the "Deploy History" database:
- Deploy: Short description of what was deployed
- Site: soilrich or synergy
- Status: Success, Failed, or Rolled Back
- Timestamp: Current date/time
- CommitHash: Git commit SHA that was deployed
- Notes: Any relevant details
Setup
Requires Netlify CLI authenticated:
npm install -g netlify-cli
netlify login
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!