Sunday, 26 July 2020

Copy files from Dev Machine to a Server by going through couple of jumpbox

Hey everyone, I want to automate a scenario I face while developing for a particular project. I need to deploy a web app for an internal project. What I currently have to do is,Build it locallyCopy to server AFrom there copy to Server BUse a script to Jump to Server BRepeat above steps to go to Destination Server.There copy it to a specific folderRestart the process.Based on certain conditions, there might be some conditional logic involved too.I want to automate this and add it to projects npm scripts. What would be the best way to achieve this using Node.js? I'm also open to other solutions, but would prefer doing it via Node.

Submitted July 26, 2020 at 08:31AM by quietwolf95

No comments:

Post a Comment