update ci stuff
This commit is contained in:
+7
-7
@@ -12,10 +12,10 @@ build:
|
|||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- rm -rf build
|
- rm -rf build
|
||||||
- ./gradlew shadowJar
|
- gradle :free:shadowJar
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/libs
|
- free/build/libs
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -23,8 +23,8 @@ pages:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
script:
|
script:
|
||||||
- ./gradlew javadoc
|
- gradle :api:javadoc
|
||||||
- mv build/docs/javadoc public
|
- mv api/build/docs/javadoc public
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
@@ -34,7 +34,7 @@ test:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
script:
|
script:
|
||||||
- ./gradlew test
|
- gradle test
|
||||||
|
|
||||||
deploy to maven repo:
|
deploy to maven repo:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -43,7 +43,7 @@ deploy to maven repo:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
script:
|
script:
|
||||||
- ./gradlew :api:publish --stacktrace
|
- gradle :api:publish --stacktrace
|
||||||
|
|
||||||
upload to updater:
|
upload to updater:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -52,6 +52,6 @@ upload to updater:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
script:
|
script:
|
||||||
- cd build/libs
|
- cd free/build/libs
|
||||||
- files=(*)
|
- files=(*)
|
||||||
- curl -i -F "submit=true" -F "secret=$UPLOAD_SECRET" -F "file=@${files[0]}" https://ajg0702.us/pl/updater/upload.php
|
- curl -i -F "submit=true" -F "secret=$UPLOAD_SECRET" -F "file=@${files[0]}" https://ajg0702.us/pl/updater/upload.php
|
||||||
|
|||||||
Reference in New Issue
Block a user