diff --git a/.github/workflows/site.yaml b/.github/workflows/site.yaml index 305b5e71c..d3962e898 100644 --- a/.github/workflows/site.yaml +++ b/.github/workflows/site.yaml @@ -30,7 +30,9 @@ jobs: distribution: temurin java-version: 25 - name: Build site - run: ./mvnw site site:stage --batch-mode --no-transfer-progress --settings ./.mvn/settings.xml --show-version -Dlicense.skip=true -DskipTests + # Note: the mvnw executable is in the parent directory - not this working directory. We only do site on the + # core project, not all the test projects. + run: ../mvnw site site:stage --batch-mode --no-transfer-progress --settings ./.mvn/settings.xml --show-version -Dlicense.skip=true -DskipTests env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NVD_API_KEY: ${{ secrets.NVD_API_KEY }}