From c45352909e5a005a08c176eec3a3b4e5db8f5da8 Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Fri, 15 Mar 2024 14:17:57 +0100 Subject: [PATCH] Final GH doc action fixes --- .github/workflows/continuous-integration.yml | 4 ++-- .github/workflows/documentation-upload.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6f0053e66..32d1054f8 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -35,7 +35,7 @@ jobs: - name: Generate Java docs run: mvn javadoc:aggregate - - name: Generate Reference docs + - name: Generate assembly working-directory: spring-ai-docs run: mvn assembly:single @@ -60,5 +60,5 @@ jobs: working-directory: spring-ai-docs/target run: | unzip spring-ai-$PROJECT_VERSION-docs.zip - ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST cd $DOCS_PATH && mkdir -p $PROJECT_VERSION/api + ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "cd $DOCS_PATH && mkdir -p $PROJECT_VERSION/api" scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$PROJECT_VERSION/api diff --git a/.github/workflows/documentation-upload.yml b/.github/workflows/documentation-upload.yml index 4645a46f9..9ed084134 100644 --- a/.github/workflows/documentation-upload.yml +++ b/.github/workflows/documentation-upload.yml @@ -52,5 +52,4 @@ jobs: unzip spring-ai-$RELEASE_VERSION-docs.zip ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "cd $DOCS_PATH && mkdir -p $RELEASE_VERSION/api" scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION - ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "rm current && ln -s $RELEASE_VERSION current"