Update .gitlab-ci.yml file
This commit is contained in:
parent
80aaeea8dd
commit
5470157468
@ -52,8 +52,8 @@ pages:
|
|||||||
- mv redaction-service-v1/redaction-service-server-v1/javadoc/* public/
|
- mv redaction-service-v1/redaction-service-server-v1/javadoc/* public/
|
||||||
- URL=$(echo $BUILDVERSION | sed -e 's|\.|-|g')
|
- URL=$(echo $BUILDVERSION | sed -e 's|\.|-|g')
|
||||||
- echo "Deploying to ${CI_PAGES_URL}/${URL}"
|
- echo "Deploying to ${CI_PAGES_URL}/${URL}"
|
||||||
- npm install -g redoc-cli
|
- npm install -g @redocly/cli@latest
|
||||||
- redoc-cli bundle -o public/index.html documentation/openapi.yaml
|
- npx @redocly/cli bundle -o public/index.html documentation/openapi.yaml
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user