potiuk commented on PR #32495:
URL: https://github.com/apache/airflow/pull/32495#issuecomment-1632122171
```
builder.publish(override_versioned=override_versioned,
airflow_site_dir=airflow_site_directory)
File
"/home/runner/work/airflow/airflow/dev/breeze/src/airflow_breeze/utils/publish_docs_builder.py",
line 292, in publish
shutil.copytree(self._build_dir, output_dir)
File "/opt/hostedtoolcache/Python/3.8.17/x64/lib/python3.8/shutil.py",
line 555, in copytree
with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory:
'/home/runner/work/airflow/airflow/docs/_build/docs/apache-airflow/stable'
Error: Process completed with exit code 1.
```
This error is because the `build-docs` command before does not have
`--for-production` switch. Just add it and it should be solved.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]