Update .drone.yml

pull/1/head
Muhep Atasoy 2019-12-15 20:44:33 +03:00
parent bcf3320dbf
commit 77ac031853
1 changed files with 2 additions and 8 deletions

View File

@ -36,24 +36,18 @@ steps:
- name: build
image: lorisleiva/laravel-docker
environment:
BUILD_VERSION: "1.0.1-pre"
commands:
- composer global require humbug/box
- echo php backupper app:build --build-version=$BUILD_VERSION -n >> build.sh
- chmod +x ./build.sh
- ./build.sh
- php backupper app:build --build-version=$(git describe --abbrev=0 --tags) -n
- php builds/backupper
- name: publish
image: plugins/github-release
environment:
BUILD_VERSION: "1.0.1-pre"
settings:
api_key:
from_secret: api_key
files:
- builds/*
title: $BUILD_VERSION
prerelease: true
when:
event: tag