Commit 0d181cd8 authored by Albert Salim's avatar Albert Salim

Merge branch 'use-gitlab-docs-project-token-in-trigger-build' into 'master'

Use a dedicated `gitlab-docs` pipeline trigger to deploy documentation Review App

See merge request gitlab-org/gitlab!57727
parents 7a19c4a6 004982ec
......@@ -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