controller-legacy/.drone.yml

34 lines
522 B
YAML

kind: pipeline
name: default
workspace:
path: /drone/src
steps:
- name: build
image: serguzim/emgauwa-builder
pull: always
commands:
- mkdir build
- cd build
- cmake ..
- make
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.serguzim.me
files:
- build/controller
- build/controller.ini
when:
event: tag
trigger:
ref:
include:
- refs/heads/main
- refs/heads/testing
- refs/tags/**