Clodui CLI - deploy command

Use deploy command to list and manage website deployments.

create

Sub-command of deploy. This command creates a new deployment for the website.

Options :

  • --website-id - Website id (required)
  • --source-dir - Website files directory, defaults to current working directory (required)
  • --publish - Flag for auto publishing deployment (optional). Disabled by default
  • --username - Clodui username (optional)
  • --password - Clodui password (optional)

Example :

$ clodui deploy create --website-id <website-id> --source-dir <website-directory-path> --publish

list

Sub-command of deploy. This command list all deployments under a website.

Options :

  • --website-id - Website id (required)
  • --username - Clodui username (optional)
  • --password - Clodui password (optional)

Example :

$ clodui deploy list --website-id <website-id>

publish

Sub-command of deploy. This command publish a deployment.

Options :

  • --website-id - Website id (required)
  • --deployment-id - Deployment id (required)
  • --username - Clodui username (optional)
  • --password - Clodui password (optional)

Example :

$ clodui deploy publish --website-id <website-id> --deployment-id <deployment-id>

redeploy

Sub-command of deploy. This command re-deploy a deployment with latest website settings.

Options :

  • --website-id - Website id (required)
  • --deployment-id - Deployment id (required)
  • --publish - Flag for auto publishing deployment (optional). Disabled by default
  • --username - Clodui username (optional)
  • --password - Clodui password (optional)

Example :

$ clodui deploy redeploy --website-id <website-id> --deployment-id <deployment-id> --publish

status

Sub-command of deploy. This command get status of a deployment.

Options :

  • --website-id - Website id (required)
  • --deployment-id - Deployment id (required)
  • --username - Clodui username (optional)
  • --password - Clodui password (optional)

Example :

$ clodui deploy status --website-id <website-id> --deployment-id <deployment-id>

We use cookies to offer you a better experience and analyze site traffic. By continuing to use this website, you consent to the use of our cookies.