mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[ANY] Final gitlab ci
This commit is contained in:
parent
747e5fec0c
commit
dc97bbb743
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,7 @@ build:
|
||||||
- cp modules/*_swmodule/build/libs/*.jar artifacts/modules
|
- cp modules/*_swmodule/build/libs/*.jar artifacts/modules
|
||||||
- cp modules/*_lmodule/build/libs/*.jar artifacts/modules
|
- cp modules/*_lmodule/build/libs/*.jar artifacts/modules
|
||||||
cache:
|
cache:
|
||||||
|
key: "$CI_COMMIT_REF_NAME"
|
||||||
paths:
|
paths:
|
||||||
- .gradle
|
- .gradle
|
||||||
- LaunchServer/build
|
- LaunchServer/build
|
||||||
|
@ -59,6 +60,8 @@ test:
|
||||||
script:
|
script:
|
||||||
- gradle check
|
- gradle check
|
||||||
cache:
|
cache:
|
||||||
|
key: "$CI_COMMIT_REF_NAME"
|
||||||
|
policy: pull
|
||||||
paths:
|
paths:
|
||||||
- .gradle
|
- .gradle
|
||||||
- LaunchServer/build
|
- LaunchServer/build
|
||||||
|
@ -74,6 +77,8 @@ deploy-demo:
|
||||||
- gradle build
|
- gradle build
|
||||||
- eval $(ssh $SSH_USER@$SSH_HOST 'cd $SSH_DIR && cat deploy.sh')
|
- eval $(ssh $SSH_USER@$SSH_HOST 'cd $SSH_DIR && cat deploy.sh')
|
||||||
cache:
|
cache:
|
||||||
|
key: "$CI_COMMIT_REF_NAME"
|
||||||
|
policy: pull
|
||||||
paths:
|
paths:
|
||||||
- .gradle
|
- .gradle
|
||||||
- LaunchServer/build
|
- LaunchServer/build
|
||||||
|
|
Loading…
Reference in a new issue