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/
|
||||
- URL=$(echo $BUILDVERSION | sed -e 's|\.|-|g')
|
||||
- echo "Deploying to ${CI_PAGES_URL}/${URL}"
|
||||
- npm install -g redoc-cli
|
||||
- redoc-cli bundle -o public/index.html documentation/openapi.yaml
|
||||
- npm install -g @redocly/cli@latest
|
||||
- npx @redocly/cli bundle -o public/index.html documentation/openapi.yaml
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
artifacts:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user