SSH Deployment with Circle CI

This article will show how to deploy your application to remote server with scp from CircleCI

Step by step

  1. Follow this article
  2. Fix host authenticity by add the following command in your .circleci/config.yml
ssh-keyscan $FTP_HOST >> ~/.ssh/known_hosts

Your final config.yml file should look like this:

--

--

enterprise architect. tech enthusiast. coffee addict. https://blog.rumbia.id

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store