Sign in

Automated Manual Upload

  • This topic has 4 replies, 3 voices, and was last updated 11 months, 2 weeks ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #7183
    Avatar photoTadej Stosic


    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.

    Thanks for the help.

    Avatar photodeepvyas

    Hi Tadej,

    I don’t see any documentations related to command line interface.
    But could you shar, why you wish doing like that way

    Good Day

    Avatar photoTadej Stosic


    reason for doing it this way would be a custom server for deployment and a need for multiple users to be able to change multiple sites with change history.

    Avatar photoTomasz Dziuda


    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!

    Avatar photoTadej Stosic


    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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.