SuperAPI AI Directory

ssh-dev-suite/deploy

Deployment & operations

View repository

Updated 10-24 04:38

About this skill

ssh-deploy

Features

Sync local projects to remote servers via ssh-dev-suite, with deployment hooks and rollback support.

Configuration

config.yaml deploy section:

  • profile: Connection configuration name
  • local_path/remote_path: Local and remote paths
  • sync_mode: full (full push, delete extras) | incremental (only transfer changes)
  • exclude: Exclude file list
  • pre_deploy/post_deploy: Remote commands before and after deployment
  • rollback: Rollback command list

Usage

Deploy: bash deploy/scripts/ssh-deploy.sh deploy Rollback: bash deploy/scripts/ssh-deploy.sh rollback

Notes

  • full mode deletes extra files on the remote side; make sure remote_path is correct
  • rollback commands need to be configured by the user according to the scenario

Token Constraints

  • Deployment logs: when rsync output is long, focus only on errors and the final status
  • Hook command output: when over 50 lines, truncate to show the head and tail
  • Repeated information: do not restate known content