Try show html
This commit is contained in:
parent
01bb3f5b50
commit
fdd32598db
|
@ -95,7 +95,7 @@ build_api_doc:
|
||||||
paths:
|
paths:
|
||||||
- doc/api/
|
- doc/api/
|
||||||
only:
|
only:
|
||||||
- main
|
# - main
|
||||||
|
|
||||||
build_doc:
|
build_doc:
|
||||||
tags:
|
tags:
|
||||||
|
@ -110,7 +110,7 @@ build_doc:
|
||||||
paths:
|
paths:
|
||||||
- doc-public
|
- doc-public
|
||||||
only:
|
only:
|
||||||
- main
|
# - main
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
tags:
|
tags:
|
||||||
|
@ -120,15 +120,17 @@ pages:
|
||||||
script:
|
script:
|
||||||
- mv doc/api/ ./home/api
|
- mv doc/api/ ./home/api
|
||||||
- mv doc-public ./home/doc
|
- mv doc-public ./home/doc
|
||||||
|
- mv doc/license ./home/license
|
||||||
- mv home public
|
- mv home public
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_api_doc
|
- build_api_doc
|
||||||
- build_doc
|
- build_doc
|
||||||
|
- license_scanning
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
only:
|
||||||
- main
|
# - main
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- template: Security/License-Scanning.gitlab-ci.yml
|
- 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"
|
name: "registry.gitlab.com/gitlab-org/security-products/analyzers/ort/ort:latest"
|
||||||
script:
|
script:
|
||||||
- /opt/ort/bin/ort analyze -i $CI_PROJECT_DIR -o $CI_PROJECT_DIR/ --allow-dynamic-versions
|
- /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
|
||||||
|
|
Loading…
Reference in a new issue