switched to using npx

This commit is contained in:
Drew Hynes 2023-11-09 14:53:21 +00:00
parent 07d9194991
commit b67f7fd641
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ image: node:latest
pages:
stage: deploy
script:
- npm install -g redocly/cli
- redocly build-docs swagger/openapi.yaml --output=public/index.html
- npx @redocly/cli build-docs swagger/openapi.yaml --output=public/index.html
#- redocly build-docs swagger/openapi.yaml --output=public/index.html
artifacts:
paths:
- public