The source of this blog is now available at github. Also I’m now using travis-ci to generate the static files and deploy them to my server. Stuff I found out:
If you use docker to run your commands, the language you specify in the
travis.yml file doesn’t really matter.
ssh-key for scp
My deploy script uses scp, so travis needs access to my server. For that, I created a new ssh-key:
Then added the public part to my server and encrypted the private part with the travis cli:
The newly generated file can be pushed to your repository and no one can readout the key (hopefully).
Now just add the following lines to your
You can find my full
PS: Don’t try to put the private key in a environment variable from travis, because the line breaks are important for ssh.
docker in travis-ci
You can use docker commands in every part of the
travis.yml file, even if the documentation only mentions the