haiti-framework/.gitlab-ci.yml

16 lines
306 B
YAML
Raw Normal View History

2022-01-21 18:17:07 +03:00
image: maven:3.8.4-openjdk-11-slim
2022-01-21 18:12:52 +03:00
variables:
MAVEN_OPTS: "-Dmaven.repo.local=./.m2/repository"
stages:
- deploy
2022-01-22 11:32:09 +03:00
deploy:
stage: deploy
2022-01-21 18:12:52 +03:00
only:
- /^release-.*$/
script:
2022-01-21 18:18:56 +03:00
- 'mvn --settings $MAVEN_SETTINGS -U -P ossrh,release clean deploy'
2022-01-21 18:12:52 +03:00
artifacts:
paths:
- backend/target/*.jar