Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Deploying only changed files via atlassian/ftp-deploy:0.2.0

Hello,

I am new to BitBucket pipelines, as I used Webhook for deploying my changes to FTP.

Yesterday I have set reccommended atlassian/ftp-deploy:0.2.0 pipeline and it works fine, BUT I would like to set that ONLY CHANGED files are taken and sent to FTP.

Any help how to set this up?

Thanks

Jakub

2 answers

0 votes

Hi, 
I try this configuration and flag:

--n 

doesn't work and I tried:

--only-newer

develop
:
- step:
name: Deploy to staging
deployment: staging
script:
- pipe: atlassian/ftp-deploy:0.3.7
variables:
USER: $FTP_DEV_USERNAME
PASSWORD: $FTP_DEV_PASSWORD
SERVER: $FTP_DEV_SERVER
REMOTE_PATH: '/public_html/'
LOCAL_PATH: '/'
DEBUG: 'true'
EXTRA_ARGS: "-n"

Someone in 2021 solved this problem? I don't have SSH access, that's why I want it to go like this.

Any answer? I have a same problem....

Would also really love an answer on this.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

192 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you