Adds cloudfront invalidation to publish task