Commit 0685e62c authored by Matija Obreza's avatar Matija Obreza
Browse files

Publish artifacts only for master branch

parent 81174ecf
......@@ -14,10 +14,8 @@ publish artifacts:
stage: compile
image: maven:3-jdk-8
# will need to handle GPG at some point
# - echo "${GPG_XXX}" > XXX
- echo "${GPG_KEY_SECRET}" | base64 --decode | gpg --allow-secret-key-import --import
- gpg --list-keys
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn clean deploy --settings .ci-maven-settings.xml -B -U
# only:
# - master
- mvn clean deploy --settings .ci-maven-settings.xml -B -U
- master
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment