The deployment via FTP keeps breaking when uploading dist folder.
Here' my 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
and in my .git-ftp-include I have excluded dist folder
!dist/
But whenever the it's uploading the dist folder, I keep getting this error
[108 of 109] Buffered for upload 'yarn.lock'.
[109 of 109] Buffered for upload 'dist/'.
Uploading ...
fatal: Could not upload files., exiting...
Is it due to the size? I have doubled the size in the .YML file. I'm not sure what am I missing.
use .git-ftp-ignore to ignore some file or folder....
this will ignore the file and folder when uploading to the server via ftp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.