upload_dir

ltdconveyor.s3.presignedpost.upload_dir(*, post_urls, base_dir, _current_dir=None)

Upload a local directory of files to S3 for an LSST the Docs build.

Parameters:
post_urls : dict

This dictionary is obtained from the "post_prefix_urls" field of the ltdconveyor.keeper.register_build function. It contains presigned post POST URLs and fields for each directory in the site being uploaded (see the dirnames parameter to register_build).

base_dir : pathlib.Path

Base directory of the site.