in src/monitor.py [0:0]
def upload_website_index(session: Session, config: Dict[str, str], passes_healthcheck: bool) -> None:
file_name = 'build/index.html' if passes_healthcheck else 'build/maintenance.html'
client = session.client('s3')
client.upload_file(file_name, config['BUCKET_NAME'], 'index2.html', ExtraArgs={'ContentType': 'text/html'})