Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

Add description to auto_deployment #45

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/models/auto_deployment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def ahead?
end

def create_deployment
api.create_deployment(name_with_owner, sha, :payload => updated_payload)
description = :description => "Heaven auto deploy triggered by a commit status change"
api.create_deployment(name_with_owner, sha, :payload => updated_payload, :description => description )
end

def execute
Expand Down