Update drone.yml syntax
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Arif Herusetyo Wicaksono 2019-11-12 07:37:10 +09:00
parent ec30df398f
commit 862a2a3d73
Signed by: arif
GPG Key ID: 977E4FEF5F35FBF6

View File

@ -1,17 +1,25 @@
pipeline:
build:
image: gcc:4.9
commands:
- make clean
- make
- make install
gitea_release:
image: plugins/gitea-release
base_url: https://git.wicak.co
secrets: [ gitea_token ]
files: bin/*
checksum:
- sha1
- sha256
when:
event: tag
kind: pipeline
type: docker
name: default
steps:
- name: build
image: gcc:4.9
commands:
- make clean
- make
- make install
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.wicak.co
files: bin/*
checksum:
- sha1
- sha256
when:
event: tag
branch: master