Skip to content

Commit

Permalink
chore: add npm run build:schema to the doc generation action (#557)
Browse files Browse the repository at this point in the history
The github action that generates the documentation fails currently due
to the fact that it's expecting the generated schema to exist, but it
does not exist unless it's explicitly built.

This commit adds `npm run build:schema` to the workflow action.

Signed-off-by: Lance Ball <lball@redhat.com>
  • Loading branch information
lance authored Jul 11, 2023
1 parent 0d923a4 commit fa388f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/api-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
-
name: Generate API documentation
run: npm install && npm run generate-docs
run: npm install && npm run build:schema && npm run generate-docs
-
name: Deploy to GitHub Pages
if: success()
Expand Down

0 comments on commit fa388f7

Please sign in to comment.