This is an automated email from the ASF dual-hosted git repository. fcsaky pushed a commit to branch docs-ci-rsync-dev in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
commit a88fa37294e0f18ff85217c7db76209bb897f412 Author: Ferenc Csaky <[email protected]> AuthorDate: Mon Sep 29 12:48:58 2025 +0200 Fix mvn build in `docs.sh` and use proper JDK17 img --- .github/workflows/docs.sh | 3 ++- .github/workflows/docs.yaml | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh index 079535dd..f3bd9c8a 100755 --- a/.github/workflows/docs.sh +++ b/.github/workflows/docs.sh @@ -18,7 +18,7 @@ ################################################################################ set -e -export JAVA_HOME=$JAVA_HOME_11_X64 +export JAVA_HOME=$JAVA_HOME_17_X64 # setup hugo HUGO_REPO=https://github.com/gohugoio/hugo/releases/download/v0.104.0/hugo_extended_0.104.0_Linux-64bit.tar.gz @@ -28,6 +28,7 @@ if ! curl --fail -OL $HUGO_REPO ; then exit 1 fi tar -zxvf $HUGO_ARTIFACT +git config --global --add safe.directory '*' git submodule update --init --recursive # generate docs into docs/target ./hugo -v --source docs --destination target diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index bc0514b2..02c92173 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -49,7 +49,11 @@ jobs: fi - name: Build documentation run: | - docker run --rm --volume "$PWD:/root/flink-kubernetes-operator" chesnay/flink-ci:java_8_11 bash -c "cd /root/flink-kubernetes-operator && ./.github/workflows/docs.sh" + docker run --rm \ + --workdir /workdir \ + -v "$PWD:/workdir" \ + chesnay/flink-ci:java_8_11_17_21_maven_386_jammy \ + bash -c './.github/workflows/docs.sh' - name: Upload documentation uses: ./.github/actions/rsync-deployments with:
