Merge branch 'gitlab-ci-on-tag' into 'master'
When push tag - trigger GitLab CI See merge request !1383
This commit is contained in:
commit
31bcd04711
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue