Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy pipeline assets using atlassian/ssh-run:0.2.2

Tsega
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2024

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.

1 answer

1 accepted

1 vote
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2024

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)

Tsega
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 30, 2024

Thanks @Ben I ended up using scp-deploy as suggested by you and it worked great.

Like Ben likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events