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