publish 0.0.1

This commit is contained in:
曾文豪
2022-12-22 17:26:13 +08:00
parent 7cec4f3f35
commit 5e39ee78ea

19
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,19 @@
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