• Achilleas Pipinellis's avatar
    Check if pipelines for merge requests are enabled · a3910bbe
    Achilleas Pipinellis authored
    This script is used to preview docs changes by deploying
    review apps to the gitlab-docs project.
    
    The branch name of the gitlab-docs project was taken from the
    CI_MERGE_REQUEST_IID variable, which is only present if pipelines
    for merge requests are enabled.
    
    With this change, we check if that's the case, otherwise we set
    a fallback to CI_COMMIT_REF_SLUG.
    a3910bbe
trigger-build-docs 3.68 KB