Adding more conditions to artifact publication.