This commit is contained in:
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
# Docs at https://docs.drone.io/pipeline/exec/overview/
|
||||
# Also see https://github.com/harness/drone-cli/blob/master/.drone.yml
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- sh ./.drone.sh
|
||||
|
||||
- name: auto-release
|
||||
image: xena/gitea-release:latest
|
||||
pull: always
|
||||
settings:
|
||||
auth_username: nathan
|
||||
default_branch: trunk
|
||||
gitea_server: https://git.coadcorp.com
|
||||
gitea_token:
|
||||
from_secret: GITEA_TOKEN
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
branch:
|
||||
- main
|
Reference in New Issue
Block a user