Update .gitlab-ci.yml file

This commit is contained in:
Kevin Tumma 2024-08-30 11:22:52 +02:00
parent 5470157468
commit 403e2f4153

View File

@ -39,7 +39,6 @@ generate JavaDoc:
- if: $CI_COMMIT_TAG
pages:
image: node:latest
stage: deploy
needs:
- generate JavaDoc
@ -52,8 +51,6 @@ 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 @redocly/cli@latest
- npx @redocly/cli bundle -o public/index.html documentation/openapi.yaml
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
artifacts: