Skip to content

Commit fa388f7

Browse files
authored
chore: add npm run build:schema to the doc generation action (#557)
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>
1 parent 0d923a4 commit fa388f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/api-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v2
1212
-
1313
name: Generate API documentation
14-
run: npm install && npm run generate-docs
14+
run: npm install && npm run build:schema && npm run generate-docs
1515
-
1616
name: Deploy to GitHub Pages
1717
if: success()

0 commit comments

Comments
 (0)