diff --git a/scripts/ci/jobs/build-docs.yml b/scripts/ci/jobs/build-docs.yml index f6b297b9d188308183fed17d9039d2409b2d89a4..5fb94256897287b17f17c90736720cf49f0050d6 100644 --- a/scripts/ci/jobs/build-docs.yml +++ b/scripts/ci/jobs/build-docs.yml @@ -6,8 +6,6 @@ build docs: variables: DOX_WARNINGS_THRESHOLD: 9 script: - # HACK to easier linking to the generated pages - - echo '<meta http-equiv="REFRESH" content="0;URL=build/docs/index.html">' >> Doxygen.html - mkdir -p build # cpp-dependencies - NUM_CYCLES=`cpp-dependencies --stats|grep cycles|cut -d " " -f 2` @@ -39,7 +37,6 @@ build docs: - echo "Number of Doxygen warnings is $NUM_DOX_WARNINGS (threshold is $DOX_WARNINGS_THRESHOLD)." - BRANCH_REGEX="^v[0-9]\.[0-9]\.[0-9]" artifacts: - expose_as: "Doxygen" paths: - Doxygen.html - build/docs @@ -55,6 +52,9 @@ build docs: reports: metrics: build/metrics.txt when: always + environment: + name: doxygen preview + url: "https://$CI_PROJECT_ROOT_NAMESPACE.$CI_PAGES_DOMAIN/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/build/docs/index.html" deploy docs: stage: package