Deploys the application to the configured VPS.
Syncs source code via rsync, then builds and releases on the server via SSH.
Usage
mix deploy
mix deploy --dry-run--dry-run performs a preflight without changing anything: it prints the deploy
plan and the exact rsync command, verifies SSH connectivity, lists the files
rsync would transfer or delete (rsync --dry-run), and previews the remote
script it would run. It takes no deploy lock. Only mix deploy accepts this
flag; the other deploy tasks reject it.
Configuration
Run mix deploy.init to generate configuration, or add manually to config/config.exs:
config :vps_deploy,
app_name: "my_app",
vps_host: "1.2.3.4"Environment variables VPS_USER and VPS_HOST override config values at runtime.