mix dicon.switch (Dicon v0.6.0)

Copy Markdown View Source

This task switches the version of the deployed application on the specified servers.

The configured hosts are picked up from the application's configuration; read the Dicon documentation for more information.

This task accepts one argument: the application version to switch to. Note that switching version is a lightweight operation that consists in symlinking the currently active release to the one specified by the given version. Switching versions won't affect the running application.

Usage

mix dicon.switch VERSION

Examples

mix dicon.switch 1.1.0

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(argv)

Callback implementation for Mix.Task.run/1.