diff --git a/.github/workflows/documentation-upload.yml b/.github/workflows/documentation-upload.yml index 0f721ecea03..8db9bc63205 100644 --- a/.github/workflows/documentation-upload.yml +++ b/.github/workflows/documentation-upload.yml @@ -26,6 +26,9 @@ jobs: cache: 'maven' - name: Generate Java docs + run: mvn clean install -DskipTests -Pjavadoc + + - name: Aggregate Java docs run: mvn javadoc:aggregate - name: Generate assembly @@ -50,6 +53,6 @@ jobs: working-directory: spring-ai-docs/target run: | unzip spring-ai-$RELEASE_VERSION-docs.zip - ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "cd $DOCS_PATH && mkdir -p $RELEASE_VERSION/api" + ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "cd $DOCS_PATH && mkdir -p $RELEASE_VERSION" scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION