MartijnVisser commented on code in PR #19571: URL: https://github.com/apache/flink/pull/19571#discussion_r857686481
########## .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: Yes. I deliberately included it, to make sure that documentation can also be build for release branches in the near future. -- 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