如何使用Bitbucket管道更新网站服务器上的laravel供应商文件夹

时间:2018-08-21 16:27:59

标签: php git laravel bitbucket bitbucket-pipelines

这是我在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/

0 个答案:

没有答案