Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

snorbik July 6, 2019

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
Karol Piekarski November 29, 2021

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.

0 votes
ka5itoshka July 16, 2019

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

LamarkMedia_ChrisHamm December 16, 2019

Would also really love an answer on this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events