Set up main release (#15)

Fix setting

Signed-off-by: Etzelia <etzelia@hotmail.com>

Set up main release

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.etztech.xyz/Etzelia/sedbot/pulls/15
fix-app
Etzelia 2020-09-08 05:57:03 +02:00
parent e688ba4733
commit 03260f8892
1 changed files with 6 additions and 12 deletions

View File

@ -22,7 +22,9 @@ kind: pipeline
name: release name: release
trigger: trigger:
event: event:
- tag - push
branch:
- master
steps: steps:
- name: build - name: build
pull: always pull: always
@ -31,18 +33,10 @@ steps:
- make build-all - make build-all
- name: gitea-release - name: gitea-release
pull: always pull: always
image: plugins/gitea-release:1 image: jolheiser/drone-gitea-main:latest
settings: settings:
api_key: token:
from_secret: gitea_token from_secret: gitea_token
base_url: https://git.etztech.xyz base_url: https://git.etztech.xyz
files: files:
- "sedbot" - "sedbot"
- name: gitea-prune
pull: always
image: jolheiser/dgrp:latest
settings:
base: https://git.etztech.xyz
token:
from_secret: gitea_token
keep: 2