add deploy/publish functionality to editor