Add gpg plugin to deploy stage
@@ -74,6 +74,7 @@ deploy:
image: maven:3-jdk-8
stage: deploy
script:
+ - echo "$GPG_PRIVATE_KEY" | gpg --batch --import --passphrase "$GPG_PASSPHRASE"
- echo "$MAVEN_CREDENTIALS" > /root/.m2/settings.xml
- mvn deploy -DskipTests
only:
