This is an automated email from the ASF dual-hosted git repository.

yuzelin pushed a commit to branch build-1.3.2
in repository https://gitbox.apache.org/repos/asf/paimon-website.git

commit d58fce45035528c44eb67d2f5128dc4df717d78c
Author: yuzelin <[email protected]>
AuthorDate: Mon May 18 14:15:08 2026 +0800

    hotfix: build 1.3
---
 .github/workflows/build.yml | 3 ++-
 .github/workflows/docs.sh   | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 84d07b162..f1ee82078 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,7 +16,7 @@
 name: "Build website and document"
 
 env:
-  versions: ("master" "1.4") # defines what versions of document should be 
updated
+  versions: ("master" "1.3" "1.4") # defines what versions of document should 
be updated
   latest_version: "1.4" # defines what version docs/latest links to
   base_href: "https://paimon.apache.org/"; # website base href
 
@@ -61,6 +61,7 @@ jobs:
 
       - name: Create asf-site branch
         run: |
+          git fetch origin master:master
           git checkout master
           git branch -D asf-site
           git checkout --orphan asf-site
diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh
index 5014457d5..864bc60f2 100644
--- a/.github/workflows/docs.sh
+++ b/.github/workflows/docs.sh
@@ -44,10 +44,12 @@ mvn -T 2C -B clean install -DskipTests -Pflink1,spark3
 # build java/scala docs
 mkdir -p docs/target/api
 mvn javadoc:aggregate -B -pl "!paimon-e2e-tests" -Ppaimon-website-javadoc \
-    -DadditionalJOption="-Xdoclint:none --allow-script-in-comments" \
+    -DadditionalJOption=-Xdoclint:none \
+    -DadditionalOptions=--allow-script-in-comments \
     -Dmaven.javadoc.failOnError=false \
     -Dcheckstyle.skip=true \
     -Dspotless.check.skip=true \
     -Denforcer.skip=true \
     -Dheader="<a href=\"http://paimon.apache.org/\"; target=\"_top\"><h1>Back 
to Paimon Website</h1></a> <script>var 
_paq=window._paq=window._paq||[];_paq.push([\"disableCookies\"]),_paq.push([\"setDomains\",[\"*.paimon.apache.org\"]]),_paq.push([\"trackPageView\"]),_paq.push([\"enableLinkTracking\"]),function(){var
 
u=\"//matomo.privacy.apache.org/\";_paq.push([\"setTrackerUrl\",u+\"matomo.php\"]),_paq.push([\"setSiteId\",\"1\"]);var
 d=document, g=d.createElement('script'), s=d.getElement [...]
+rm -rf docs/target/api/java
 mv target/site/apidocs docs/target/api/java

Reply via email to