我是BitBucket管道的新手,因为我使用Webhook将更改部署到FTP。
我已经设置了推荐的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 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-pipelines.yml的代码