Update .gitlab-ci.yml file

This commit is contained in:
Kevin Tumma 2024-08-30 10:56:49 +02:00
parent 80aaeea8dd
commit 5470157468

View File

@ -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: