Update .drone.yml

pull/1/head
Muhep Atasoy 2019-12-15 23:52:59 +03:00
parent 2cce66600b
commit 9d394b5ff9
1 changed files with 6 additions and 1 deletions

View File

@ -49,9 +49,14 @@ steps:
- name: publish - name: publish
image: lorisleiva/laravel-docker image: lorisleiva/laravel-docker
environment:
GITHUB_TOKEN:
from_secret: api_key
commands: commands:
- wget https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2 - wget https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
- tar xjf linux-amd64-github-release.tar.bz2 - tar xjf linux-amd64-github-release.tar.bz2
- ls -l - ls -l
- chmod +x ./bin/linux/amd64/github-release - chmod +x ./bin/linux/amd64/github-release
- ./bin/linux/amd64/github-release - mv ./bin/linux/amd64/github-release .
- ./github-release release --user muhep06 --repo dgd-backupper-php --tag $(git describe --abbrev=0 --tags) --name "$(git describe --abbrev=0 --tags)"
- ./github-release upload --user muhep06 --repo dgd-backupper-php --tag $(git describe --abbrev=0 --tags) --name "backupper" --file