Content Views: Worked more on publishing content

Fixed places where repos had no environments. Also, changed the task type to
publish instead of refresh.