Deployment task is read from wrong place and falls back to default
Mumakil opened this issue · comments
Otto Vehviläinen commented
It seems like all the providers are trying to read the task
from wrong place. Capistrano, BundlerCapistrano and Fabric all have
def task
name = custom_payload && custom_payload["task"] || "deploy"
...
end
where custom_payload
comes from DefaultProvider as
def custom_payload
@custom_payload ||= data["deployment"]["payload"]
end
However the deployments api has the task
attribute directly under deployment
and not in the payload.