Update .drone.yml
parent
0b5337d6f1
commit
0b90045f52
64
.drone.yml
64
.drone.yml
|
|
@ -11,32 +11,32 @@ steps:
|
|||
# image: composer
|
||||
# commands:
|
||||
# - composer install --prefer-dist
|
||||
##
|
||||
## - name: test
|
||||
## image: lorisleiva/laravel-docker
|
||||
## commands:
|
||||
## - ./vendor/bin/phpunit
|
||||
##
|
||||
## - name: github
|
||||
## image: alpine/git
|
||||
## environment:
|
||||
## SSH_KEY:
|
||||
## from_secret: id_rsa
|
||||
## SSH_KEY_PUB:
|
||||
## from_secret: id_rsa_pub
|
||||
## commands:
|
||||
## - mkdir ~/.ssh
|
||||
## - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
||||
## - echo "$SSH_KEY_PUB" | tr -d '\r' > ~/.ssh/id_rsa.pub
|
||||
## - chmod 755 ~/.ssh
|
||||
## - chmod 600 ~/.ssh/id_rsa
|
||||
## - chmod 600 ~/.ssh/id_rsa.pub
|
||||
## - eval $(ssh-agent)
|
||||
## - ssh-add ~/.ssh/id_rsa
|
||||
## - ssh-keyscan -H 'github.com' >> ~/.ssh/known_hosts
|
||||
## - git remote add github git@github.com:muhep06/dgd-backupper-php.git
|
||||
## - git push github master -f
|
||||
#
|
||||
# - name: test
|
||||
# image: lorisleiva/laravel-docker
|
||||
# commands:
|
||||
# - ./vendor/bin/phpunit
|
||||
#
|
||||
# - name: github
|
||||
# image: alpine/git
|
||||
# environment:
|
||||
# SSH_KEY:
|
||||
# from_secret: id_rsa
|
||||
# SSH_KEY_PUB:
|
||||
# from_secret: id_rsa_pub
|
||||
# commands:
|
||||
# - mkdir ~/.ssh
|
||||
# - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
||||
# - echo "$SSH_KEY_PUB" | tr -d '\r' > ~/.ssh/id_rsa.pub
|
||||
# - chmod 755 ~/.ssh
|
||||
# - chmod 600 ~/.ssh/id_rsa
|
||||
# - chmod 600 ~/.ssh/id_rsa.pub
|
||||
# - eval $(ssh-agent)
|
||||
# - ssh-add ~/.ssh/id_rsa
|
||||
# - ssh-keyscan -H 'github.com' >> ~/.ssh/known_hosts
|
||||
# - git remote add github git@github.com:muhep06/dgd-backupper-php.git
|
||||
# - git push github master -f
|
||||
|
||||
# - name: build
|
||||
# image: lorisleiva/laravel-docker
|
||||
# commands:
|
||||
|
|
@ -48,12 +48,8 @@ steps:
|
|||
# event: tag
|
||||
|
||||
- name: publish
|
||||
image: plugins/github-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: api_key
|
||||
files:
|
||||
- builds/*
|
||||
prerelease: true
|
||||
upload_url: /repos/muhep06/dgd-backupper-php/releases
|
||||
base_url: https://api.github.com
|
||||
image: lorisleiva/laravel-docker
|
||||
commands:
|
||||
- wget https://github.com/tfausak/github-release/releases/download/1.2.5/github-release-linux.gz
|
||||
- gzip -d github-release-linux.gz
|
||||
- ls -all
|
||||
|
|
|
|||
Loading…
Reference in New Issue