Auto-Updater Skill
一个面向 Other 场景的 Agent 技能。原始说明:Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
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]
Deploy and manage Next.js websites on Netlify from your phone.
| Site | Domain | Repo |
|------|--------|------|
| soilrich | soilrichbyjohn.com | ~/soilrich-website |
| synergy | Synergy salon | ~/synergy-website |
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 --proddeploy 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.
All deploy and rollback commands require the user to confirm before executing. The agent must:
After each deploy, create an entry in the "Deploy History" database:
Requires Netlify CLI authenticated:
npm install -g netlify-cli
netlify login