Skip to content

Commit

Permalink
chore(ci): fix redoc cli
Browse files Browse the repository at this point in the history
Signed-off-by: Swilder-M <[email protected]>
  • Loading branch information
Swilder-M committed Sep 26, 2024
1 parent 9c8906e commit 92dbf98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ jobs:
- name: build redoc
run: |
cd frontend
npm i -g @redocly/cli@latest
LANGS=(zh en)
for lang in "${LANGS[@]}"; do
npx @redocly/cli build-docs redoc/api-swagger-${lang}.json \
redocly build-docs redoc/api-swagger-${lang}.json \
--output docs/.vitepress/dist/${lang}/neuronex/${VERSION}/api/api-docs.html \
--theme.openapi.theme.colors.primary.main=#00b173 \
--theme.openapi.theme.typography.headings.fontFamily='Roboto, sans-serif'
Expand Down

0 comments on commit 92dbf98

Please sign in to comment.