Actually build prior to release (#6)

Update '.drone.yml'

Reviewed-on: https://git.etztech.xyz/Minecraft/Hush/pulls/6
Reviewed-by: ZeroHD <joey@ahines.net>
master
Etzelia 2020-09-22 23:39:59 +02:00
parent 756a766a57
commit a266178098
1 changed files with 6 additions and 9 deletions

View File

@ -26,6 +26,11 @@ trigger:
- push - push
steps: steps:
- name: build
pull: always
image: gradle:6.6
commands:
- gradle build
- name: gitea-release - name: gitea-release
pull: always pull: always
image: jolheiser/drone-gitea-main:latest image: jolheiser/drone-gitea-main:latest
@ -34,12 +39,4 @@ steps:
from_secret: gitea_token from_secret: gitea_token
base: https://git.etztech.xyz base: https://git.etztech.xyz
files: files:
- "build/libs/*.jar" - "build/libs/*.jar"
- name: gitea-prune
pull: always
image: jolheiser/drone-gitea-prune:latest
settings:
base: https://git.etztech.xyz
token:
from_secret: gitea_token