I just recently stumbled over DroneCI through a YouTube video and it looked very interesting. At the moment, I’m using bash scripts to build and update my container. The building I got already running in DroneCI but I’m a bit stuck with the deployment. Trouble - or not - is that I’m not using a registry. I havent found any easy to deploy self-hosted registry yet and I’m not sure if deploying one just for that one website project would be worth the effort. I don’t really want to use a public registry because my website code is not open source.
So, at the moment, I’m directly deploying through ssh like this:
Have to jump through a few hoops for ssh public key auth but it works great.
One thing though: the command has to be - sh buildscript.sh
Apparently GIT doesn’t sync executable bits, so just calling the script’s name doesn’t work.