Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a7da995
Removing interface to Travis CI
absurdfarce Dec 4, 2025
ded2985
Replace outdated link in README
aimurphy Nov 20, 2025
e762df8
ninja-fix: Remove ASF donation message
lukasz-antoniak Dec 19, 2025
595cb29
Update LZ4 and Netty dependencies for CVE response
aratno Dec 23, 2025
ad7a103
Bump logback to most recent Java8-compatible version
absurdfarce Aug 14, 2025
e317b61
ninja-fix - adding an extra space to render the page correctly with m…
MikeLaptev Jan 7, 2026
855cd0b
ninja-fix Updating a few indented lists that were observed to not ren…
absurdfarce Jan 14, 2026
af0a63a
Re-work ordering clause support in query builder behind a single Orde…
absurdfarce Jul 21, 2025
35bae4f
ninja-fix We apparently had some unformatted files slip in in the las…
absurdfarce Jan 15, 2026
e84bb1a
CASSJAVA-122 Fix OSGi LZ4 test
lukasz-antoniak Jan 27, 2026
deffb92
Bump Jackson to 2.20.1
absurdfarce Jan 15, 2026
283d3a7
CASSJAVA-108 Update ESRI (and remove org.json) dependencies
absurdfarce Aug 20, 2025
de96ce8
ninja-fix Update Jenkins label to Jammy
absurdfarce Mar 2, 2026
3f5f3ac
Revert "ninja-fix Update Jenkins label to Jammy"
absurdfarce Mar 6, 2026
27e2bfa
Fix race condition in ClockSeqAndNodeContainer
jasonk000 Aug 10, 2025
bbd1998
CASSJAVA-3: Fix ordering of LIMIT and PER PARTITION LIMIT clauses
stringaling Feb 26, 2025
bf2b36f
CASSJAVA-30: Update CONTRIBUTING.md
SiyaoIsHiding May 6, 2025
bfacd80
CASSJAVA-104: Fix Flaky tests
SiyaoIsHiding Apr 2, 2026
bd37256
CASSJAVA-109, CASSJAVA-117: Manual and API References after donation,…
SiyaoIsHiding Apr 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions .github/workflows/publish-docs-gp-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: publish-docs-gh-pages

on:
workflow_dispatch:

jobs:
build-docs:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
# 1. Checkout doc branch
- name: Checkout current branch
uses: actions/checkout@v4
with:
path: java-driver

# 2. Java 8
- name: Set up Java 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "8"
cache: maven

# 3. Python 3.10.19 + MkDocs + plugins
- name: Set up Python 3.10.19
uses: actions/setup-python@v5
with:
python-version: "3.10.19"

- name: Install MkDocs dependencies
run: |
python -m pip install --upgrade pip
pip install \
mkdocs \
mkdocs-material \
mkdocs-awesome-pages-plugin \
mkdocs-macros-plugin \
mike

# 4. Build docs via build-doc.sh
- name: Build documentation
working-directory: java-driver
run: |
chmod +x ./build-doc.sh
./build-doc.sh

# 5. Checkout gh-pages branch
- name: Checkout GH pages branch
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages

- name: Copy and version documentation
working-directory: gh-pages
run: |
git config --global user.email "gha@cassandra.apache.org"
git config --global user.name "GHA for Apache Cassandra Website"

cd ../java-driver
# lookup current project version
release_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout | cut -d- -f1)
# update links to contain version prefix
mike deploy --update-aliases $release_version
# copy documentation web page folder
cd ../gh-pages
cp -r ../java-driver/docs ./
rm -rf $release_version
mv docs $release_version

# update latest symlink
rm latest
ln -s $release_version latest

# remove latest tag
sed -i 's/\"latest\"//g' versions.json
# remove already present line if exists
sed -i '/'"$release_version"'/d' versions.json
# insert new version at the beginning
sed -i '2s/^/ { "version": "'"$release_version"'", "title": "'"$release_version"'", "aliases": ["latest"] },\'$'\n/g' versions.json

echo "release_version=$release_version" >> "$GITHUB_ENV"

- name: Commit and push documentation
working-directory: gh-pages
run: |
git config --global user.email "gha@cassandra.apache.org"
git config --global user.name "GHA for Apache Cassandra Website"

git add .

if git diff --cached --quiet; then
echo "No changes to push to gh-pages"
exit 0
fi

git commit -m "Update generated docs for release ${release_version}"
git push origin gh-pages
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

Loading