Thanks! The post_phase hook does what I want.
However per the docs, you can set special keys to the root item and have it process it in the post phase.
This is not what I’m experiencing. I set a key to the root item but in the post_finalize method it does not show that key as existing in the publish_tree.root_item.properties. In fact there are no keys in the root_item, not even path. It’s my understanding that the root item is the first item in the list, no? At any rate, I can’t set a key to it and have it visible in the post hook.
They do show up on the item.properties but not in the root_item.
The workaround is to set my special key to each item but this seems somewhat messy since I only need to set it to the root item.