zentol commented on code in PR #19571: URL: https://github.com/apache/flink/pull/19571#discussion_r857626336
########## .github/workflows/docs.sh: ########## @@ -31,6 +31,13 @@ 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 master branch + ./hugo mod get -u github.com/apache/flink-connector-elasticsearch/docs@$currentBranch Review Comment: The explicit reference to the es repo is needed to select the branch, correct? -- 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