update drone
This commit is contained in:
parent
ed03bcc222
commit
f98ceb2eec
14
.drone.yml
14
.drone.yml
|
@ -51,16 +51,24 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- npm install && npm run prod && rm -R node_modules
|
- npm install && npm run prod && rm -R node_modules
|
||||||
|
|
||||||
|
- name: compress
|
||||||
|
image: php:7.3
|
||||||
|
commands:
|
||||||
|
- apt-get update -yqq
|
||||||
|
- apt-get install -yqq zip tar
|
||||||
|
- tar -czf nami.tar.gz ./
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_api_key
|
from_secret: gitea_api_key
|
||||||
base_url: https://git.zoomyboy.de
|
base_url: https://git.zoomyboy.de
|
||||||
files: ./
|
files: ./nami.tar.gz
|
||||||
when:
|
when:
|
||||||
event:
|
event: tag
|
||||||
- tag
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in New Issue