Try not to deploy to the maven repo simply when a PR is open.
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing

This commit is contained in:
Manuel Friedli 2022-02-02 01:12:31 +01:00
parent 195df4f120
commit 820521520a
Signed by: manuel
GPG key ID: 41D08ABA75634DA1

View file

@ -20,7 +20,9 @@ steps:
from_secret: repo-token from_secret: repo-token
commands: commands:
- mvn -s maven-settings.xml deploy -DskipTests=true - mvn -s maven-settings.xml deploy -DskipTests=true
when: trigger:
branch: branch:
include: - master
- master event:
exclude:
- pull_request