Suggestions for deploying Sage with Travis and SFTP?

Maybe I’m not thinking about this correctly, but I have the following scenario:

  • Not using Bedrock, only using Sage
  • Have WordPress installed on a VPS
  • Building using Travis

Would it be as simple as adding an scp command pointing to the appropriate place on my server in the after_success section of my .travis.yml file? I do not have FTP enabled on my server so I can’t use ftp through curl as suggested by the Travis docs.

If I’m not allowed to use something like Capistrano I would use rsync instead of scp.

Related: http://austinpray.com/ops/2015/01/15/build-steps-and-deployment.html

1 Like