18 lines
392 B
YAML
18 lines
392 B
YAML
stages:
|
|
- deploy
|
|
|
|
deploy-jar:
|
|
stage: deploy
|
|
tags:
|
|
- zengos
|
|
rules:
|
|
- if: $CI_COMMIT_TAG
|
|
script:
|
|
- mvn clean deploy -Dmaven.test.skip -DaltDeploymentRepository=master::default::file:$TAG_REPO_FOLDER
|
|
- cd $TAG_REPO_FOLDER
|
|
- git checkout master
|
|
- git pull
|
|
- git add .
|
|
- git commit -m "deploy $CI_PROJECT_NAME $CI_COMMIT_TAG"
|
|
- git push origin master
|