I’m trying to set up an automated manual website upload after updating my site. And I was wondering are there any command line options for publii or any other ways for me to automate manual server deployment after changes were committed to github.
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!
I have now created a repository that contains my sites. and after custom code is ran so that it automatically generates output from the input files from each site.
I think you should consider adding command line arguments that support rendering sites by name. it shouldn’t be too hard to implement and it would allow users to use CI/CD properly.