This commit is contained in:
parent
0fa7c3973e
commit
2ab9820d0c
24
.drone.yml
24
.drone.yml
@ -22,26 +22,18 @@ steps:
|
||||
- mv plugin tf.meow.remote.sdPlugin
|
||||
- cd tf.meow.remote.sdPlugin
|
||||
- zip -r /tmp/build/tf.meow.remote.streamDeckPlugin .
|
||||
- name: gitea_release
|
||||
- name: release
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /tmp/build
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://git.meow.tf
|
||||
api_key:
|
||||
image: alpine:latest
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: gitea_token
|
||||
files: /tmp/build/tf.meow.remote.streamDeckPlugin
|
||||
title: /tmp/build/version.txt
|
||||
checksum:
|
||||
- md5
|
||||
- sha1
|
||||
- sha256
|
||||
- sha512
|
||||
- adler32
|
||||
- crc32
|
||||
when:
|
||||
event: tag
|
||||
commands:
|
||||
- apk add --update curl
|
||||
- export VERSION=`cat /tmp/build/version.txt`
|
||||
- curl -F 'server=https://git.meow.tf&token=$TOKEN&repo=$DRONE_REPO&name=$VERSION&tag_name=v$VERSION&commit=DRONE_COMMIT&assets[]=@/tmp/build/tf.meow.remote.streamDeckPlugin' https://api.meow.tf/gitea/release/publish
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
Loading…
Reference in New Issue
Block a user