|
@@ -48,7 +48,11 @@ else
|
|
|
mkdir -p "${BRANCHES_DIR}"
|
|
mkdir -p "${BRANCHES_DIR}"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
-cp -r ${DOCS_DIR}/gh-pages/* "${DIST_DIR}"
|
|
|
|
|
|
|
+if [ -e "${DOCS_DIR}/gh-pages" ]; then
|
|
|
|
|
+ cp -r ${DOCS_DIR}/gh-pages/* "${DIST_DIR}"
|
|
|
|
|
+else
|
|
|
|
|
+ prepare_docs_log "Skipping copy of gh-pages dir, doesn't exist"
|
|
|
|
|
+fi
|
|
|
|
|
|
|
|
# Create the docs bundle for our ref. This will be the redoc bundle + a
|
|
# Create the docs bundle for our ref. This will be the redoc bundle + a
|
|
|
# snapshot of the OpenAPI spec
|
|
# snapshot of the OpenAPI spec
|