potiuk commented on a change in pull request #10441:
URL: https://github.com/apache/airflow/pull/10441#discussion_r475558009
##########
File path: scripts/in_container/run_docs_build.sh
##########
@@ -28,7 +28,7 @@ sudo rm -rf "${AIRFLOW_SOURCES}/docs/_api/*"
sudo -E "${AIRFLOW_SOURCES}/docs/build_docs.py" "${@}"
-if [[ ${GITHUB_ACTIONS} == "true" && -d "${AIRFLOW_SOURCES}/docs/_build/html"
]]; then
+if [[ ${GITHUB_ACTIONS:="false"} == "true" && -d
"${AIRFLOW_SOURCES}/docs/_build/html" ]]; then
rm -rf "/files/documentation"
cp -r "${AIRFLOW_SOURCES}/docs/_build/html" "/files/documentation"
Review comment:
Nope. They are mounted from another filesystem (mounted from the host)..
Moving will not be faster because it will effectively be doing copy + delete.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]