fix: YML
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
683a59cafe
commit
eb851a31bd
|
@ -13,12 +13,11 @@ steps: # 定义管道的执行步骤
|
||||||
- pwd
|
- pwd
|
||||||
- ls -a
|
- ls -a
|
||||||
- name: build # 步骤名称
|
- name: build # 步骤名称
|
||||||
image: composer:latest # 当前步骤使用的镜像 image: composer:latest 执行 composer 的依赖加载
|
image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: composer:latest 这里还是使用自己的环境 否则可能一些依赖版本问题会出现
|
||||||
commands: # 当前步骤执行的命令
|
commands: # 当前步骤执行的命令
|
||||||
- composer -v
|
- composer -v
|
||||||
- ls -a
|
- ls -a
|
||||||
- cd hyperf
|
- 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 即可
|
||||||
|
|
Loading…
Reference in New Issue