Update .gitlab-ci.yml

This commit is contained in:
J. Fronny 2020-11-21 20:51:03 +00:00
parent b2729f2835
commit 23a88db8c9

View File

@ -8,9 +8,14 @@ before_script:
deploy: deploy:
stage: deploy stage: deploy
script: gradle --build-cache assemble script:
- gradle --build-cache assemble
- cp build/libs/* ./
- rm *-dev.jar
- mv *.jar latest.jar
artifacts: artifacts:
paths: paths:
- build/libs - build/libs
- latest.jar
only: only:
- master - master