Add a section for publishing a release to Gitea to the drone config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
file. This has not been tested yet!
This commit is contained in:
parent
d82bd08d12
commit
da6993b4f9
1 changed files with 16 additions and 0 deletions
16
.drone.yml
16
.drone.yml
|
@ -11,3 +11,19 @@ steps:
|
||||||
image: node:15-alpine
|
image: node:15-alpine
|
||||||
commands:
|
commands:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
- name: gitea_release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_api_token
|
||||||
|
base_url: https://gittr.ch
|
||||||
|
files:
|
||||||
|
- dist/*
|
||||||
|
checksum:
|
||||||
|
- md5
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
- adler32
|
||||||
|
- crc32
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
Loading…
Reference in a new issue