Update drone.yml syntax
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

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

View File

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