Packages

Mix-first deployment tool for bare-metal Elixir releases over SSH. An Elixir port of Kamal using native releases, Caddy, and Elixir configuration.

Current section

Files

Jump to
xamal lib mix tasks xamal migrate.ex
Raw

lib/mix/tasks/xamal/migrate.ex

defmodule Mix.Tasks.Xamal.Migrate do
@moduledoc """
Runs the release migrator on the selected hosts.
Calls `<AppModule>.Release.migrate()` by convention. Pass a module to override:
mix xamal.migrate MyApp.Release
"""
@shortdoc "Runs the release migrator"
use Xamal.MixTask, run: {Xamal.AppTasks, :migrate}
end