haiti-framework/.gitlab-ci.yml
Struchkov Mark 8d62949252 deploy
2022-01-22 12:03:58 +03:00

19 lines
409 B
YAML

image: maven:3.8.4-openjdk-11
variables:
MAVEN_OPTS: "-Dmaven.repo.local=./.m2/repository"
stages:
- deploy
deploy:
stage: deploy
only:
- /^release-.*$/
before_script:
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import $GPG_PRIVATE_KEY
script:
- 'mvn --settings $MAVEN_SETTINGS -U -P ossrh,release clean deploy'
artifacts:
paths:
- backend/target/*.jar