Php 如何使用bitbucket管道更新网站服务器上的laravel供应商文件夹
这是一个my bitbucket-pipelines.yml和Laravel中的项目 我有这个但不工作,请帮忙,谢谢:)Php 如何使用bitbucket管道更新网站服务器上的laravel供应商文件夹,php,git,laravel,bitbucket,bitbucket-pipelines,Php,Git,Laravel,Bitbucket,Bitbucket Pipelines,这是一个my bitbucket-pipelines.yml和Laravel中的项目 我有这个但不工作,请帮忙,谢谢:) “不工作”是什么意思?请阅读。我没有看到任何会导致vendor/被推到这里的东西,除非我误解了gitftp的作用。如果vendor/未被跟踪,它将不会被推送,因为它不存在于任何提交中。vendor文件夹未在网站服务器上更新您上面显示的内容的哪一部分应该将vendor/文件夹放在您的服务器上?我知道这未被跟踪,但如何处理服务器上没有的vendor文件夹 image: php:7
“不工作”是什么意思?请阅读。我没有看到任何会导致
vendor/
被推到这里的东西,除非我误解了gitftp
的作用。如果vendor/
未被跟踪,它将不会被推送,因为它不存在于任何提交中。vendor文件夹未在网站服务器上更新您上面显示的内容的哪一部分应该将vendor/
文件夹放在您的服务器上?我知道这未被跟踪,但如何处理服务器上没有的vendor文件夹
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/