diff --git a/.github/workflows/build_and_deploy_docs.yaml b/.github/workflows/build_and_deploy_docs.yaml index 671e64b3..04934dc6 100644 --- a/.github/workflows/build_and_deploy_docs.yaml +++ b/.github/workflows/build_and_deploy_docs.yaml @@ -63,8 +63,7 @@ jobs: run: make build-api-reference - name: Build Docusaurus docs - run: npm run build - working-directory: ./website + run: make build-docs - name: Set up GitHub Pages uses: actions/configure-pages@v5 diff --git a/Makefile b/Makefile index 0f8f6542..002b2112 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ fix-async-docstrings: build-api-reference: cd website && poetry run ./build_api_reference.sh -build-docs: build-api-reference +build-docs: cd website && npm clean-install && npm run build run-docs: build-api-reference