Home » Php » php – how push vendor folder using pipeline bitbucket laravel

php – how push vendor folder using pipeline bitbucket laravel

Posted by: admin February 25, 2020 Leave a comment

Questions:

How push vendor folder using pipeline Bitbucket in Laravel?

This is a my bitbucket-pipelines.yml and project in Laravel. I try, but the vendor folder is not added to the server



image: php:7.2

pipelines:
  default:
    - step:
        caches:
          - composer
        script:
          - apt-get update && apt-get install -y unzip && apt-get -qq install git-ftp
          - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
          - composer install
          - git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST

Thanks for any help

How to&Answers: