Akd v0.2.1 Akd.Deployment View Source
This module represents a Deployment
struct which contains metadata about
a deployment.
The meta data involves:
build_at
-Akd.Destination.t
where 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.t
where the app/node will be published.vsn
- Version of app that is being released, represented by aString.t
.hooks
- A list ofAkd.Hook.t
that 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() :: %Akd.Deployment{build_at: Akd.Destination.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