diff options
Diffstat (limited to 'lib/gitlab/slash_commands/deploy.rb')
-rw-r--r-- | lib/gitlab/slash_commands/deploy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/slash_commands/deploy.rb b/lib/gitlab/slash_commands/deploy.rb index 9fcefd99f81..16a4875be91 100644 --- a/lib/gitlab/slash_commands/deploy.rb +++ b/lib/gitlab/slash_commands/deploy.rb @@ -54,7 +54,7 @@ module Gitlab return unless environment actions = environment.actions_for(to).select do |action| - action.starts_environment? + action.deployment_job? end if actions.many? |