Update .drone.yml
parent
92e85f1f64
commit
62b51b4318
17
.drone.yml
17
.drone.yml
|
|
@ -3,11 +3,11 @@ name: default
|
||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: composer
|
- name: composer
|
||||||
# pull: if-not-exists
|
pull: if-not-exists
|
||||||
# image: composer
|
image: composer
|
||||||
# commands:
|
commands:
|
||||||
# - composer install --prefer-dist
|
- composer install --prefer-dist
|
||||||
#
|
#
|
||||||
# - name: test
|
# - name: test
|
||||||
# image: lorisleiva/laravel-docker
|
# image: lorisleiva/laravel-docker
|
||||||
|
|
@ -39,7 +39,8 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
BUILD_VERSION: "1.0.1-pre"
|
BUILD_VERSION: "1.0.1-pre"
|
||||||
commands:
|
commands:
|
||||||
#- composer global require humbug/box
|
- composer global require humbug/box
|
||||||
- echo php backupper app:build $BUILD_VERSION -n >> build.sh
|
- echo php backupper app:build --build-version=$BUILD_VERSION -n >> build.sh
|
||||||
- cat build.sh
|
- chmod +x .build.sh
|
||||||
|
- ./build.sh
|
||||||
- php builds/backupper
|
- php builds/backupper
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue