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: kind: pipeline
build: type: docker
image: gcc:4.9 name: default
commands:
- make clean steps:
- make - name: build
- make install image: gcc:4.9
gitea_release: commands:
image: plugins/gitea-release - make clean
base_url: https://git.wicak.co - make
secrets: [ gitea_token ] - make install
files: bin/*
checksum: - name: gitea_release
- sha1 image: plugins/gitea-release
- sha256 settings:
when: api_key:
event: tag from_secret: gitea_token
base_url: https://git.wicak.co
files: bin/*
checksum:
- sha1
- sha256
when:
event: tag
branch: master