fix: YML
continuous-integration/drone/push Build is failing Details

develop
Gong 2023-08-28 15:46:56 +08:00
parent 0d56a49495
commit 683a59cafe
1 changed files with 3 additions and 2 deletions

View File

@ -12,12 +12,13 @@ steps: # 定义管道的执行步骤
- git version - git version
- pwd - pwd
- ls -a - ls -a
- cd hyperf
- name: build # 步骤名称 - name: build # 步骤名称
image: composer:latest # 当前步骤使用的镜像 image: composer:latest 执行 composer 的依赖加载 image: composer:latest # 当前步骤使用的镜像 image: composer:latest 执行 composer 的依赖加载
commands: # 当前步骤执行的命令 commands: # 当前步骤执行的命令
- composer -v - composer -v
- ls -a - ls -a
- cd hyperf
#- composer require firebase/php-jwt # 没有composer.json 和 lock文件 #- composer require firebase/php-jwt # 没有composer.json 和 lock文件
# 如果第一次使用composer 就使用composer require 包名,可以自动创建 vend 和对应的文件 # 如果第一次使用composer 就使用composer require 包名,可以自动创建 vend 和对应的文件
# 当然这是在本地的时候去创建【本地有了 拉取代码的时候 才能去执行自动拉取】 拉取代码的时候 直接composer install 即可 # 当然这是在本地的时候去创建【本地有了 拉取代码的时候 才能去执行自动拉取】 拉取代码的时候 直接composer install 即可