This fixes #8251.  I added the publish input.