Akd v0.3.0 Akd.Deployment View Source
This module represents a Deployment struct which contains metadata about
a deployment.
The meta data involves:
build_at-Akd.Destination.twhere the app/node will be built/released.mix_env- Mix environment to build the app, represented by aString.t.name- Name with which the app/node will be published.publish_to-Akd.Destination.twhere the app/node will be published.vsn- Version of app that is being released, represented by aString.t.hooks- A list ofAkd.Hook.tthat will be run in order when a deployment is executed.
This struct is mainly used by native hooks in Akd, but it can be leveraged
to produce custom hooks.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Akd.Deployment{
build_at: Akd.Destination.t(),
data: Map.t(),
hooks: [Akd.Hook.t()],
mix_env: String.t(),
name: String.t(),
publish_to: Akd.Destination.t(),
vsn: String.t()
}
t() :: %Akd.Deployment{
build_at: Akd.Destination.t(),
data: Map.t(),
hooks: [Akd.Hook.t()],
mix_env: String.t(),
name: String.t(),
publish_to: Akd.Destination.t(),
vsn: String.t()
}
Generic type for a Deployment struct