Sign in

Automated Manual Upload

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

    Hello,

    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.

    #7184
    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

    #7185
    Avatar photoTadej Stosic

    Hey,

    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.

    #7303
    Avatar photoTomasz Dziuda

    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!

    #7331
    Avatar photoTadej Stosic

    Hi,

    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.