I use SFTP. Secure Shellfish is probably a brilliant app (I have Ander’s Working Copy app), but a bit pricey for my light use. Is there another SFTP/SSH option that integrates with Drafts?
You can push content via SSH using Shortcuts. Ari Weinstein, one of the original Workflow team (which became Shortcuts) demoed it once on Twitter. More recently, but still several years ago, it came up on the Automators forum too.
Chances are that you will be able to send the data from Drafts to a Shortcuts shortcut set up in a similar way to that described in the thread without too much trouble.
I got in on Secure Shellfish on the release price, and I guess it was at a much lower pricce having looked at the lifetime unlock.
Thanks @sylumer. Wow! This works. I have wanted to do this with Drafts for so long. The SSH Shortcuts action means Drafts can generate a webpage from markdown and upload it to a web server via Shortcuts.
I’ve created an action that wraps the draft in HTML, prepends/appends the webpage header and footer, prompts for a file name, and uploads the draft to the web server.