mix deploy (VpsDeploy v0.1.7)

Copy Markdown View Source

Deploys the application to the configured VPS.

Syncs source code via rsync, then builds and releases on the server via SSH.

Usage

mix deploy

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.