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

Execute GitLab CI on tag push

parent ef48c75c5319
...@@ -8,6 +8,12 @@ def execute(project, user, oldrev, newrev, ref) ...@@ -8,6 +8,12 @@ def execute(project, user, oldrev, newrev, ref)
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