diff --git a/app/models/site/deploy_dependencies.rb b/app/models/site/deploy_dependencies.rb index b807f0e8..b40d8d04 100644 --- a/app/models/site/deploy_dependencies.rb +++ b/app/models/site/deploy_dependencies.rb @@ -8,7 +8,7 @@ class Site included do def deployment_graph - @deployment_graph ||= RGL::AdjacencyGraph.new.tap do |graph| + @deployment_graph ||= RGL::DirectedAdjacencyGraph.new.tap do |graph| deploys.each do |deploy| graph.add_vertex deploy end