Securely deploying public repo to a remote virtual machine from Travis CI?

How to safely deploy public storage (JavaScript application) from Travis CI to a remote virtual machine running CentOS 6.5?

If you used the Jenkins “central deployment server” before, we could trade SSH keys between the Jenkins server and the virtual virtual machine. This will allow us to build SCP , because it is nothing but some JavaScript files.

If I wanted to deploy this virtual machine from Travis CI - I have time to understand how it will work exclusively from a file .travis.yml- if at all possible.

There is some information on generating encryption keys , as well as a guide here on encrypting sensitive files and data , but I just don't know where to start.

  • Is it possible to do this safely with a public repository?
  • Is there a better way to get around this or another service that I should use?
  • How do I configure a file .travis.ymland a CentOS 6.5VM to do something like this?
+4
source share

All Articles