这是我在Laravel中的bitbucket-pipelines.yml和项目 我How to ftp php code including vendor folder using bitbucket pipeline但这没用,请帮忙,谢谢:)
image: php:7.2
pipelines:
branches:
dev:
- step:
caches:
- composer
script: # Modify the commands below to build repository.
- apt-get update
- apt-get install -y unzip
- apt-get -qq install git
- apt-get -qq install git-ftp
- apt-get update
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
- git status -uno --porcelain
- git ftp push --user user12 --passwd abcd1234 ftp://ftp.site.com/dev.site.com/