screening for valid artifact url and that there cannot be a git deployment and an artifact url at the same time