Ploi CLI
Ploi CLI

Deploy

The deploy command allows you to deploy a site to a specific server, with the option to specify a deployment schedule.

ploi deploy

Deploy a website on a specific server

ploi deploy --server=blue-ocean --site=example.com

Schedule a deployment (Provide a valid datetime in the format: YYYY-MM-DD HH:MM.)

ploi deploy --server=blue-ocean --site=example.com --schedule="2025-01-01 18:00"

When you run the deploy command for a staging site, it will automatically detect that: