File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ RUN cd /tmp/python_modules; \
4747FROM python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
4848
4949
50+ ENV MKDOCS_SRC_DIRECTORY='docs'
51+
52+
5053COPY --from=build /tmp/python_builds /tmp/python_builds
5154
5255
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ merge_child() {
107107
108108 # rm -rf ${HOME_DIR}/docs/${docs_path}/*;
109109
110- cp -afr ${HOME_DIR} /artifacts/${child_repo_user} /${child_repo_name} /docs/${docs_path} /. ${HOME_DIR} /docs /${docs_path} /
110+ cp -afr ${HOME_DIR} /artifacts/${child_repo_user} /${child_repo_name} /docs/${docs_path} /. ${HOME_DIR} /${MKDOCS_SRC_DIRECTORY} /${docs_path} /
111111
112112 echo " Merge Child Docs: docs/${docs_path} /" ;
113113
@@ -174,7 +174,7 @@ if [ -n "${IS_BUILD}" ]; then
174174
175175 echo " Copy Source docs" ;
176176
177- cp -a ${HOME_DIR} /docs /. ${HOME_DIR} /artifacts/source/;
177+ cp -a ${HOME_DIR} /${MKDOCS_SRC_DIRECTORY} /. ${HOME_DIR} /artifacts/source/;
178178
179179 fi
180180
You can’t perform that action at this time.
0 commit comments