publish: Add the deplsy code back with the gaurd message.

generated from commit 984d0d6a1aed04ebfe112cfa976ad836b38d281b