Files
tiesheng-springboot/.gitlab-ci.yml
曾文豪 c6662407a7 Revert "publish 0.4.0"
This reverts commit f0493cea
2023-02-15 15:43:15 +08:00

20 lines
438 B
YAML

stages:
- deploy
- package
deploy-jar:
stage: deploy
tags:
- hzkepai
rules:
- if: $CI_COMMIT_TAG
script:
- mvn clean deploy -Dmaven.test.skip -DaltDeploymentRepository=master::default::file:/usr/local/nginx/html/kepai-repo
- cd /usr/local/nginx/html/kepai-repo
- git checkout master
- git pull
- git add .
- git commit -m "deploy $CI_PROJECT_NAME $CI_COMMIT_TAG"
- git push origin master