The task is easy, create a static site with jekyll and put it on the internet. Have nice build script to build the site, test it locally and upload it to the server…

So now my upload looks like this

gradle task publish

and it works, still some challenge to figure out the secrets for ftp, but that should work soon.

Ok for the secrets I’ve found an simple solution for MacOS. Thanks to You can just store the password in your user keystore and retrieve it via CLI:

passwd=$(security find-generic-password -s KEY -w)