I am using bit bucket like I have a clone repository and I push changes I made on local on my bucket repository and from bucket i am using pipeline to push the changes to the live FTP server ,i have one team-mate working directly on ftp server using filezilla he makes changes in some files which are to be needed to be pulled to the bucket repository and local clone repository is there any way to achieve above things ? using pipeline or anything ?
i have got somewht idea like this
pipelines:
branches:
master:
- step:
script:
- #FTP command to fetch files from your server
- git add --all
- git commit -m "git FTP merge"
- git push
wht command i sud write insted
#FTP command to fetch files from your server
and yes iff this is not proper way suggest one