Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Deployment does not upload Composer vendor directory

Jan Henkes February 4, 2020

I created this deployment pipeline (Laravel project). It runs composer successfully, but it doesn't upload my vendor directory:

image: php:7.1.29

pipelines:
default:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install --no-dev
- step:
name: Deploy
deployment: production
script:
- pipe: atlassian/sftp-deploy:0.5.3
variables:
USER: 'username'
SERVER: 'hostname'
REMOTE_PATH: '/path/'
LOCAL_PATH: '${BITBUCKET_CLONE_DIR}/*'

Could it be because the vendor dir is in my .gitignore file? And how could I solve this?

1 answer

0 votes
Josh_Balduff February 24, 2020

Have you found an answer? I have the same issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events