ubuntu_website_deployment
Deploy website files to Ubuntu servers over SSH, create pre-deployment backups, and restore backups as needed.
Instructions
Deploy website files and create backups on Ubuntu
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | Whether to run the command with sudo (default: true) | |
| action | Yes | Action to perform (deploy, backup, restore) | |
| localPath | No | Local path to the website files for deployment | |
| backupPath | No | Path to store backups (default: /var/backups/websites) | |
| remotePath | No | Remote path where the website is located (default: /var/www/html) | |
| connectionId | Yes | ID of an active SSH connection | |
| createBackup | No | Whether to create a backup before deployment (default: true) |