haiti-framework/.gitlab-ci.yml
Struchkov Mark 67ba5edc28 deploy
2022-01-22 11:32:09 +03:00

16 lines
306 B
YAML

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