Skip to content

Commit 4d94c52

Browse files
committed
fix(ci): correct gradle command path in docs workflow
1 parent fabafe6 commit 4d94c52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ jobs:
9393
9494
- name: Build Documentation
9595
run: |
96-
cd docs
97-
./gradlew generateSite
98-
if [ ! -d "build/site" ] || [ -z "$(ls -A build/site)" ]; then
96+
./gradlew :docs:generateSite
97+
if [ ! -d "docs/build/site" ] || [ -z "$(ls -A docs/build/site)" ]; then
9998
echo "Site build failed or directory is empty. Falling back to direct Antora command."
99+
cd docs
100100
npm install
101101
./node_modules/.bin/antora --fetch --stacktrace --log-format=pretty antora-playbook.yml --to-dir=build/site
102102
fi

0 commit comments

Comments
 (0)