23 lines
386 B
YAML
23 lines
386 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: remove_folder
|
|
image: alpine
|
|
commands:
|
|
- rm -rf .git
|
|
- name: gitea_release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea_token
|
|
base_url: https://git.trj.tw
|
|
files: ./*
|
|
checksum:
|
|
- md5
|
|
- sha1
|
|
- sha256
|
|
when:
|
|
event: tag
|