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.
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.
-- 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!