zentol commented on code in PR #19571: URL: https://github.com/apache/flink/pull/19571#discussion_r858025694
########## .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: FYI this isn't gonna work because there is no master branch in flink-connector-elasticsearch. The beauty of different default branch names 🙈 -- 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