simpbot/.drone.yml
Steve b9d3b287e8
Some checks failed
continuous-integration/drone/tag Build is failing
track config file changes
2021-08-07 13:02:50 -04:00

28 lines
451 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: golang
commands:
- make
- name: create release tar
image: golang
commands:
- tar -czf release-$DRONE_TAG.tar.gz init/simpbot.service simpbot
when:
event: tag
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
files:
- release-$DRONE_TAG.tar.gz
base_url: https://git.saintnet.tech
when:
event: tag