Commit 0a3b45c8 authored by Matija Obreza's avatar Matija Obreza
Browse files

GPG sec is text no need for base64, publish artifacts for tags

parent 5acd93f5
......@@ -11,11 +11,12 @@ run tests in branches:
- master
publish artifacts:
stage: compile
stage: deploy
image: maven:3-jdk-8
script:
- echo "${GPG_KEY_SECRET}" | base64 --decode | gpg --allow-secret-key-import --import
- echo "${GPG_KEY_SECRET}" | gpg --allow-secret-key-import --import
- gpg --list-keys
- mvn clean deploy --settings .ci-maven-settings.xml -B -U
only:
- master
- tags
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