simpbot/.drone.yml
Steve 798cb746d1
All checks were successful
continuous-integration/drone/push Build is passing
update ci
2021-08-07 13:13:35 -04:00

29 lines
473 B
YAML

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