Skip to content
代码片段 群组 项目
提交 004982ec 编辑于 作者: Rémy Coutable's avatar Rémy Coutable 提交者: Albert Salim
浏览文件

Use the gitlab-docs project token to trigger review app pipeline


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
上级 d99352f7
No related branches found
No related tags found
无相关合并请求
...@@ -258,6 +258,11 @@ module Trigger ...@@ -258,6 +258,11 @@ module Trigger
ENV['DOCS_BRANCH'] || 'master' ENV['DOCS_BRANCH'] || 'master'
end end
# `gitlab-org/gitlab-docs` pipeline trigger "Triggered from gitlab-org/gitlab 'review-docs-deploy' job"
def trigger_token
ENV['DOCS_TRIGGER_TOKEN']
end
def extra_variables def extra_variables
{ {
"BRANCH_#{project_slug.upcase}" => ENV['CI_COMMIT_REF_NAME'], "BRANCH_#{project_slug.upcase}" => ENV['CI_COMMIT_REF_NAME'],
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册