From 255e542cbef5f54ab9b58c0b336ec3b153f7e7ff Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Fri, 15 Mar 2024 11:59:03 +0100 Subject: [PATCH] CI/CD configuration fixes --- .github/workflows/documentation-upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation-upload.yml b/.github/workflows/documentation-upload.yml index d5e37b307..b15cb1e42 100644 --- a/.github/workflows/documentation-upload.yml +++ b/.github/workflows/documentation-upload.yml @@ -30,7 +30,7 @@ jobs: - name: Generate Reference docs working-directory: spring-ai-docs - run: mvn site + run: mvn assembly:single - name: Setup SSH key env: @@ -49,8 +49,8 @@ jobs: DOCS_USERNAME: ${{ secrets.DOCS_USERNAME }} working-directory: spring-ai-docs/target run: | - unzip spring-ai-$RELEASE_VERSION-docs.zip + unzip unzip spring-ai-$RELEASE_VERSION-javadocs.zip ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "cd $DOCS_PATH && mkdir $RELEASE_VERSION" scp -i $HOME/.ssh/key -r api reference $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST rm current && ln -s $RELEASE_VERSION current - +