Skip to content

Commit 4afc87c

Browse files
committed
fix component doc path
1 parent 8ff5960 commit 4afc87c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,13 @@ jobs:
213213
fi
214214
ls -l build
215215
popd
216-
mv ${COMPONENT}/docs/build/html/* artifacts/docs/
216+
if [[ "${{ inputs.component }}" != "cuda-python" ]]; then
217+
TARGET="${{ inputs.component }}"
218+
mkdir -p artifacts/docs/${TARGET}
219+
else
220+
TARGET=""
221+
fi
222+
mv ${COMPONENT}/docs/build/html/* artifacts/docs/${TARGET}
217223
218224
# TODO: Consider removing this step?
219225
- name: Upload doc artifacts

0 commit comments

Comments
 (0)