Hi,
I suppose that the only way at this moment will be watching for output directory changes and after specific period of time (e.g. 1 minute) with lack of changes of the directory content, starting custom deployment script.
There are currently no API to run external code on render finish – we will probably prepare a plugin which will allow run of custom code after finishing rendering for the advanced users.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!