Commit cb21d224 authored by Matija Čupić's avatar Matija Čupić
Browse files

Build AutoDevops instead of using ProjectAutoDevops#new

parent c1f86061d708
......@@ -1609,7 +1609,7 @@ def deployment_variables
def auto_devops_variables
return [] unless auto_devops_enabled?
(auto_devops || ProjectAutoDevops.new)&.variables
(auto_devops || build_auto_devops)&.variables
end
def append_or_update_attribute(name, value)
......
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