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.

Just upload json and media files

  • #2564
    Avatar photo[anonymous]

    Is it possible to prevent uploading the html? I would like to use publii with a SSG and just have the json and media files available, and save server space by not uploading the automatic generated html.

    Thanks for answering 🙂

    #2634
    Avatar photo[anonymous]

    Hi,

    Unfortunately it is default Publii behaviour. The only solution would be use manual deploy option, then run custom shell script after rendering of the website, which will remove unnecessary files and then will upload final output to the server.