Making ping part of the publish task