如何在Bitbucket管道中通过atlassian/ftp deploy:0.2.0仅部署更改的文件?
我不熟悉BitBucket管道,因为我使用Webhook来部署对FTP的更改 我已经设置了Recommendated atlassian/ftp deploy:0.2.0管道,它工作正常,但我想设置只获取更改的文件并发送到ftp如何在Bitbucket管道中通过atlassian/ftp deploy:0.2.0仅部署更改的文件?,ftp,bitbucket,bitbucket-pipelines,Ftp,Bitbucket,Bitbucket Pipelines,我不熟悉BitBucket管道,因为我使用Webhook来部署对FTP的更改 我已经设置了Recommendated atlassian/ftp deploy:0.2.0管道,它工作正常,但我想设置只获取更改的文件并发送到ftp image: node:10.15.3 pipelines: default: - step: name: FTP Deploy script: # Modify the commands below to build yo
image: node:10.15.3
pipelines:
default:
- step:
name: FTP Deploy
script: # Modify the commands below to build your repository.
- pipe: atlassian/ftp-deploy:0.2.0
variables:
USER: 'myFTPusername'
PASSWORD: 'myFTPpass'
SERVER: 'myFTPserver'
REMOTE_PATH: 'myFTPpath'
- step:
name: Deploy message
deployment: test
script:
- echo "Deploying to main environment"
如何设置它,使其只向FTP发送更改的文件,有什么帮助吗
预期输出为bitbucket管道的代码。yml将检查答案,谢谢。