Bitbucket管道错误-致命:无法上传文件,正在退出

问题描述

上传 dist 文件夹时,通过FTP进行的部署不断中断。

这是我的bitbucket-pipelines.yml

- step:
    name: 'Deployment to Production'
    size: 2x
    deployment: production
    trigger: 'manual'
    script:
      - apt-get update
      - apt-get -qq install git-ftp
      - git ftp init --auto-init --insecure --user $FTP_USER--passwd $FTP_PASS ftpes://ftp.domain.dev/public_html/wp-content/themes/test --all

,并且在我的 .git-ftp-include 中,我排除了 dist 文件

!dist/

但是每当它上传dist文件夹时,我都会不断收到此错误

[108 of 109] Buffered for upload 'yarn.lock'.
[109 of 109] Buffered for upload 'dist/'.
Uploading ...
fatal: Could not upload files.,exiting...

是因为尺寸吗?我将.YML文件的大小增加了一倍。我不确定我想念什么。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)