- Add the
s3.py
file to your project. As an example, put it inside a folder calledpublishers
. - The folder where s3.py resides must be a Python package, so add an empty
__init__.py
file to that folder also. - Add the following configuration to your site.yaml and modify it as needed:
publisher:
s3:
type: publishers.s3.S3 # here, publishers is the folder where the s3.py file was placed