Skip to content

Commit

Permalink
fix: run docusaurus build on each commit (#22)
Browse files Browse the repository at this point in the history
* fix: run docusaurus build on each commit

* fix: run npm ci on docusaurus too

* fix: broken link

* fix: build command
  • Loading branch information
alarv authored Nov 11, 2024
1 parent e2c6883 commit e85ad2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ jobs:
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- run: npm ci
- run: cd docusaurus && npm ci
- run: npm run build --if-present

Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ curl -X GET "https://api.jaqpot.org/v1/models" \
-H "X-Api-Secret: <client_secret>"
```

or use the [Python SDK](../SDKs/python-sdk/install-the-sdk.md)
or use one of the [SDKs](https://jaqpot.org/docs/category/sdks)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "next build && npm run build:docusaurus",
"build:docusaurus": "cd docusaurus && npm run build",
"format:write": "prettier --write \"**/*.{css,js,json,jsx,ts,tsx}\"",
"format": "prettier \"**/*.{css,js,json,jsx,ts,tsx}\"",
Expand Down

0 comments on commit e85ad2a

Please sign in to comment.