This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 11e4f55549 [Fix][CI] Build only the current and latest released docs
in the website check (#12614)
11e4f55549 is described below
commit 11e4f5554973a66ba2d63d4df18ee22f10be121f
Author: Goutam Adwant <[email protected]>
AuthorDate: Mon Oct 5 15:16:39 2026 +0000
[Fix][CI] Build only the current and latest released docs in the website
check (#12614)
---
.github/workflows/backend.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 62ac569a53..a55d942fb9 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -521,6 +521,13 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18.20.7
+ # PR changes reach the current docs and the shared images only. Building
every released
+ # docs snapshot as well, in both locales, pushes this job past its
timeout, so keep only
+ # the newest snapshot, which the website config requires.
+ - name: Build only the current and latest released docs
+ run: |
+ cd seatunnel-website
+ node -e "const fs = require('fs'); const v =
JSON.parse(fs.readFileSync('versions.json')); fs.writeFileSync('versions.json',
JSON.stringify(v.slice(0, 1), null, 2) + '\n');"
- name: Run docusaurus build
env:
GITHUB_TOKEN: ${{ github.token }}