Commit 004982ec authored by Rémy Coutable's avatar Rémy Coutable Committed by Albert Salim

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

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent d99352f7
......@@ -258,6 +258,11 @@ module Trigger
ENV['DOCS_BRANCH'] || 'master'
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
{
"BRANCH_#{project_slug.upcase}" => ENV['CI_COMMIT_REF_NAME'],
......
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