Skip to content
Snippets Groups Projects
Commit 0ca76a42 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

ci: allow forks to have different names


When the fork of the "docs" repository is called something else, we need to
refer to it by the real name to successfully perform the replacement for merge
request pipelines.

Use some bash and CI_MERGE_REQUEST_SOURCE_PROJECT_PATH to find the bare name of
the project. This works because the variable is re-interpolated by bash during
job execution.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 70713eae
No related branches found
No related tags found
1 merge request!29ci: allow forks to have different names
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment