Commit 2543af84 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Execute GitLab CI on tag push

parent f891abab
...@@ -8,6 +8,12 @@ class GitTagPushService ...@@ -8,6 +8,12 @@ class GitTagPushService
create_push_event create_push_event
project.repository.expire_cache project.repository.expire_cache
project.execute_hooks(@push_data.dup, :tag_push_hooks) project.execute_hooks(@push_data.dup, :tag_push_hooks)
if project.gitlab_ci?
project.gitlab_ci_service.async_execute(@push_data)
end
true
end end
private private
......
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