Skip to content

Commit

Permalink
Merge pull request #91 from Swilder-M/fix-redoc-install
Browse files Browse the repository at this point in the history
chore(ci): fix redoc cli
  • Loading branch information
Red-Asuka authored Sep 26, 2024
2 parents 9c8906e + 92dbf98 commit 16dce10
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 16dce10

Please sign in to comment.