Try show html

This commit is contained in:
Niklas Zender 2020-10-14 09:48:52 +00:00
parent 01bb3f5b50
commit fdd32598db

View file

@ -95,7 +95,7 @@ build_api_doc:
paths:
- doc/api/
only:
- main
# - main
build_doc:
tags:
@ -110,7 +110,7 @@ build_doc:
paths:
- doc-public
only:
- main
# - main
pages:
tags:
@ -120,15 +120,17 @@ pages:
script:
- mv doc/api/ ./home/api
- mv doc-public ./home/doc
- mv doc/license ./home/license
- mv home public
dependencies:
- build_api_doc
- build_doc
- license_scanning
artifacts:
paths:
- public
only:
- main
# - main
include:
- template: Security/License-Scanning.gitlab-ci.yml
@ -139,4 +141,7 @@ license_scanning:
name: "registry.gitlab.com/gitlab-org/security-products/analyzers/ort/ort:latest"
script:
- /opt/ort/bin/ort analyze -i $CI_PROJECT_DIR -o $CI_PROJECT_DIR/ --allow-dynamic-versions
- /opt/ort/bin/ort report -f GitLabLicenseModel -i $CI_PROJECT_DIR/analyzer-result.yml -o $CI_PROJECT_DIR/
- /opt/ort/bin/ort report -f StaticHtml -i $CI_PROJECT_DIR/analyzer-result.yml -o doc/license
artifacts:
paths:
- doc/license