I'm using a Bitbucket Pipeline to deploy to a cPanel account using SSH.
I have an initial build step that generates a `dist` folder with files.
Once I SSH into the cPanel account, I need to know how to copy the generated asset (`dist` folder) to a specific location in the remote server.
Hi Tsega,
I'd suggest using either the scp-deploy pipe or rsync-deploy pipe instead to copy these files to your server over SSH - as these are designed for deploying files over SSH/SSL:
Documentation for the usage of the pipe can be found in the above links.
Cheers!
- Ben (Bitbucket Cloud Support)
Thanks @Ben I ended up using scp-deploy as suggested by you and it worked great.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.