Fixed when clause for build and release

master
Joey Hines 2022-02-12 14:49:39 -07:00
parent 3c1dda9712
commit a69c429fe5
No known key found for this signature in database
GPG Key ID: 80F567B5C968F91B
1 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ pipeline:
image: "gradle:7.4-jdk17"
when:
branch: main
event: push
release:
image: jolheiser/drone-gitea-main:latest
settings:
@ -24,4 +25,5 @@ pipeline:
files:
- "build/libs/*.jar"
when:
branch: main
branch: main
event: push