Working with publish profiles
Handle no sites in publish-profiles