بنقرة واحدة
deploy-cvm
Deploy local changes to the dev TDX CVM
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Deploy local changes to the dev TDX CVM
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | deploy-cvm |
| description | Deploy local changes to the dev TDX CVM |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Glob, Grep |
Deploy all local changes to the TDX CVM dev environment.
tdx (ProxyJump through gpu26, port 10022)/home/root/openclaw/Check connectivity:
ssh tdx "echo ok"
Detect changed files using git diff --name-only HEAD and git status --short to find all modified/untracked files.
Sync all changed files to the CVM, preserving directory structure. Use scp for each file/directory since the CVM lacks rsync. Sync to /home/root/openclaw/.
Rebuild compose-api if any compose-api/ files changed:
ssh tdx "cd /home/root/openclaw/compose-api && docker build --build-arg CACHEBUST=$(date +%s) -t openclaw-compose-api:local ."
Rebuild worker if any worker/ files changed:
ssh tdx "cd /home/root/openclaw/worker && docker build --build-arg CACHEBUST=$(date +%s) -t openclaw-nearai-worker:local ."
Redeploy containers:
ssh tdx "cd /home/root/openclaw && docker compose -f deploy/docker-compose.dstack.yml --env-file deploy/.env.dstack up -d"
Verify deployment:
ssh tdx "curl -s http://localhost:8080/version"