@@ -89,7 +89,7 @@ file values, which take precedence over built-in defaults.
8989** Signature**
9090
9191``` bash
92- deploy [--config FILE] configure < instance_name> [< ssh_host> ] [< repo_url> ] [--type odoo| python| service] [-p < ssh_port> ]
92+ deploy [--config FILE] configure < instance_name> [< ssh_host> ] [< repo_url> ] [--type odoo| python| service] [-p < ssh_port> ] [--force] [--repo-subdir < subdir > ]
9393```
9494
9595** Arguments**
@@ -98,15 +98,16 @@ deploy [--config FILE] configure <instance_name> [<ssh_host>] [<repo_url>] [--ty
9898| ----------------| ------------------------| ------------------------------------------------------------------------------|
9999| ` instance_name ` | Always | Logical name for the instance (used for paths and service name) |
100100| ` ssh_host ` | If not in config | SSH target, or ` localhost ` / omit to deploy locally without SSH |
101- | ` ssh_port ` | If not in config | SSH port, default 22 |
102101| ` repo_url ` | If not in config | Git repository URL (e.g. ` git@github.com:org/repo.git ` ) |
103102
104103** Options**
105104
106105| Option | Default | Description |
107106| ----------------| ----------| -----------------------------------------------------------------------------------------------------|
108107| ` --type ` | auto | Deployment type: ` odoo ` , ` python ` , or ` service ` ; auto-detected from instance name prefix if omitted |
108+ | ` -p ` | ` 22 ` | SSH port, default 22 |
109109| ` --force ` | ` False ` | Re-run steps 3–4 even if the instance directory already exists |
110+ | ` --repo-subdir ` | ` None ` | Subdirectory within the repository to work on, if any |
110111
111112** Steps (executed in order)**
112113
@@ -170,7 +171,7 @@ deploy [--config FILE] configure <instance_name> [<ssh_host>] [<repo_url>] [--ty
170171**Signature**
171172
172173```bash
173- deploy [--config FILE] update <instance_name> [<ssh_host>] [-p <ssh_port>] [--type odoo|python|service] [--db DATABASE]
174+ deploy [--config FILE] update <instance_name> [<ssh_host>] [-p <ssh_port>] [--type odoo|python|service] [--db DATABASE] [--ignore-hooks] [--repo-subdir <subdir>]
174175```
175176
176177**Arguments**
@@ -179,15 +180,16 @@ deploy [--config FILE] update <instance_name> [<ssh_host>] [-p <ssh_port>] [--ty
179180|----------------|------------------------|------------------------------------------------------------------------------|
180181| `instance_name` | Always | Name of the previously configured instance |
181182| `ssh_host` | If not in config | SSH target, or `localhost` / omit to deploy locally without SSH |
182- | `ssh_port` | If not in config | SSH port, default 22 |
183183
184184**Options**
185185
186186| Option | Default | Description |
187187|--------------------|-------------------|----------------------------------------------------------|
188188| `--type` | auto | Deployment type: `odoo`, `python`, or `service`; auto-detected from instance name prefix if omitted |
189+ | `-p` | `22` | SSH port, default 22 |
189190| `--db` | `<instance_name>` | (Odoo only) Override the target database name |
190191| `--ignore-hooks` | `False` | Skip all hook execution |
192+ | `--repo-subdir` | `None` | Subdirectory within the repository to work on, if any |
191193
192194**Hooks**
193195
0 commit comments