summaryrefslogtreecommitdiff
path: root/app/models/project/hooks_trait.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project/hooks_trait.rb')
-rw-r--r--app/models/project/hooks_trait.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/project/hooks_trait.rb b/app/models/project/hooks_trait.rb
index f642ac978f3..2f97eb6c379 100644
--- a/app/models/project/hooks_trait.rb
+++ b/app/models/project/hooks_trait.rb
@@ -101,6 +101,9 @@ module Project::HooksTrait
# Execute web hooks
self.execute_web_hooks(oldrev, newrev, ref, user)
+
+ # Create satellite
+ self.satellite.create unless self.satellite.exists?
end
end
end