diff --git a/.github/workflows/documentation-upload.yml b/.github/workflows/documentation-upload.yml index 3a851a0fe..12577556d 100644 --- a/.github/workflows/documentation-upload.yml +++ b/.github/workflows/documentation-upload.yml @@ -49,8 +49,8 @@ jobs: DOCS_USERNAME: ${{ secrets.DOCS_USERNAME }} working-directory: spring-ai-docs/target run: | - unzip unzip spring-ai-$RELEASE_VERSION-docs.zip + unzip spring-ai-$RELEASE_VERSION-docs.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 + 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"