所以我在我的bitbucket上设置了一个管道来推送到我的演示服务器
image: php:7.1.1
pipelines:
default:
- step:
caches:
- composer
script:
- echo "Pipeline Init"
- apt-get update
- apt-get -qq install git-ftp
- echo "Initiating Push site:Source."
- git config git-ftp.syncroot wordpress/wp-content/themes/ip-callcenters/
- git ftp init --user $FTP_USER --passwd $FTP_PASSWORD ftp://myip/ipcc/wp-content/themes/myfolder/
到目前为止一切正常..
告诉我 There are 143 files to sync:
并启动 [1 of 143] Buffered for upload
等等......
所以出于某种原因,在26-30个文件被缓冲之后停止缓冲它不会继续,然后说上传....几分钟后我得到一个
fatal error: Could not upload files., exiting...
任何想法我怎么能让这个工作?
1 回答
同步存储库时使用
"ftp push"
.和第一次将存储库克隆到FTP时
"ftp init"
.