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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.