From 5470157468cd808b04e22886712af91691742d04 Mon Sep 17 00:00:00 2001 From: Kevin Tumma Date: Fri, 30 Aug 2024 10:56:49 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df5d884b..51f7bcd5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: