diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 0495f46..6f73ff7 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -39,9 +39,6 @@ jobs: server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file - - name: Build with Maven - run: mvn --file pom.xml -U clean package - - uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v3 @@ -49,7 +46,9 @@ jobs: node-version: '20.x' - run: cd docs && npm ci - run: cd docs && npm run build - - run: cp -r ./target/apidocs/. ./docs/build/apidocs + + - name: Build with Maven + run: mvn --file pom.xml -U clean package && cp -r ./target/apidocs/. ./docs/build/apidocs - name: Setup Pages uses: actions/configure-pages@v3