Deploy node js to linux server via ssh

Hi,
I want to deploy node js code to remote server via ssh after successful build. How can i do it, From the below example what should be the content of deploy_prod.sh

Example
deployment:
production:
branch: production
commands:
- ./deploy_prod.sh

Check out this blog post in this example we are just using rsync to move the static files over. This uses rsync which is IMO the simplest form of deployment.

1 Like

Thank you levlaz :slight_smile:

1 Like