zentol commented on code in PR #19571:
URL: https://github.com/apache/flink/pull/19571#discussion_r858829347


##########
.github/workflows/docs.sh:
##########
@@ -31,6 +31,14 @@ if ! curl --fail -OL $HUGO_REPO ; then
 fi
 tar -zxvf $HUGO_ARTIFACT
 git submodule update --init --recursive
+# retrieve latest documentation from external connector repositories
+currentBranch=$(git branch --show-current)
+if [[ "$currentBranch" = "master" ]]; then
+  # The Elasticsearch documentation is currently only available on the main 
branch
+  ./setup_docs.sh
+  ./hugo mod get -u github.com/apache/flink-connector-elasticsearch/docs@main

Review Comment:
   how about moving this into setup_docs.sh as well?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to