Skip to content

Commit

Permalink
Fix the documentation upload workflow
Browse files Browse the repository at this point in the history
 - This will make sure to generate the JavaDocs for M3
  • Loading branch information
ilayaperumalg committed Nov 5, 2024
1 parent f16b8f5 commit 30c950f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/documentation-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 30c950f

Please sign in to comment.