@tychi Yeah absolutely, you can tarball any files and send it over. We have two methods for uploading, PUT and PATCH. POST replaces the entire site contents whereas PATCH adds any new files. The GH action only supports POST at the moment IIRC, but that should be a simple enough addition.
Honestly having a bitch of Bash in your script should do the trick just as well.
https://github.com/hyphacoop/actions-distributed-press/blob/main/src/index.js