Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Automated Manual Upload

  • #7183
    Avatar photo[anonymous]

    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 photo[anonymous]

    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 photo[anonymous]

    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 photo[anonymous]

    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.

    #7331
    Avatar photo[anonymous]

    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.

    #10426
    Avatar photo[anonymous]
    Tomasz Dziuda wrote:

    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.

    I am also interested in this functionality.  Is there an issue already open for it?  I will be happy to make one, if not.