Update .drone.yml
parent
2cce66600b
commit
9d394b5ff9
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue