Commit 02126391 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Save `on_stop` in deployment

parent 5f98d059
......@@ -32,7 +32,8 @@ class CreateDeploymentService < BaseService
tag: params[:tag],
sha: params[:sha],
user: current_user,
deployable: @deployable)
deployable: @deployable,
on_stop: options.fetch(:on_stop, nil))
end
def environment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment