Skip to content

Commit aae294b

Browse files
GH Pages branch
1 parent 622c42c commit aae294b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish-docs-gp-pages.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ jobs:
4747
chmod +x ./build-doc.sh
4848
./build-doc.sh
4949
50-
# 5. Checkout doc-view branch
50+
# 5. Checkout gh-pages branch
5151
- name: Checkout GH pages branch
5252
uses: actions/checkout@v4
5353
with:
54-
ref: doc-view
55-
path: doc-view
54+
ref: gh-pages
55+
path: gh-pages
5656

5757
- name: Copy and version documentation
58-
working-directory: doc-view
58+
working-directory: gh-pages
5959
run: |
6060
git config --global user.email "gha@cassandra.apache.org"
6161
git config --global user.name "GHA for Apache Cassandra Website"
@@ -66,7 +66,7 @@ jobs:
6666
# update links to contain version prefix
6767
mike deploy --update-aliases $release_version
6868
# copy documentation web page folder
69-
cd ../doc-view
69+
cd ../gh-pages
7070
cp -r ../java-driver/docs ./
7171
rm -rf $release_version
7272
mv docs $release_version
@@ -85,17 +85,17 @@ jobs:
8585
echo "release_version=$release_version" >> "$GITHUB_ENV"
8686
8787
- name: Commit and push documentation
88-
working-directory: doc-view
88+
working-directory: gh-pages
8989
run: |
9090
git config --global user.email "gha@cassandra.apache.org"
9191
git config --global user.name "GHA for Apache Cassandra Website"
9292
9393
git add .
9494
9595
if git diff --cached --quiet; then
96-
echo "No changes to push to doc-view"
96+
echo "No changes to push to gh-pages"
9797
exit 0
9898
fi
9999
100100
git commit -m "Update generated docs for release ${release_version}"
101-
git push origin doc-view
101+
git push origin gh-pages

0 commit comments

Comments
 (0)