def overwrite_static_site(path, bucket_name): file_dict = parse_target_dir(path) setup_bucket(bucket_name) upload_files(file_dict, bucket_name)
def sync_static_site(path, bucket_name): file_dict = parse_target_dir(path) upload_files(file_dict, bucket_name)