Update .gitlab-ci.yml file
This commit is contained in:
parent
5470157468
commit
403e2f4153
@ -39,7 +39,6 @@ generate JavaDoc:
|
|||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
image: node:latest
|
|
||||||
stage: deploy
|
stage: deploy
|
||||||
needs:
|
needs:
|
||||||
- generate JavaDoc
|
- generate JavaDoc
|
||||||
@ -52,8 +51,6 @@ 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 @redocly/cli@latest
|
|
||||||
- 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