perf:部署项目

This commit is contained in:
曾文豪
2023-05-11 16:12:27 +08:00
parent 0cb1581176
commit 0b98d0abb4
3 changed files with 20 additions and 4 deletions

View File

@@ -2,6 +2,16 @@ stages:
- deploy
- package
build-jar:
stage: deploy
tags:
- hzkepai
rules:
- if: $CI_COMMIT_BRANCH == "master"
script:
- mvn clean package -Dmaven.test.skip=true
- cp target/*.jar /usr/local/nginx/html/demo.tmp.kepai365.ltd/
deploy-jar:
stage: deploy
tags: