upload artifact
This commit is contained in:
@@ -23,10 +23,16 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build -x test --no-daemon --info --stacktrace
|
run: ./gradlew build -x test --no-daemon --info --stacktrace
|
||||||
|
|
||||||
|
- name: Upload jar
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: trisolarisserver-jar
|
||||||
|
path: build/libs/*.jar
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger deploy webhook
|
- name: Trigger deploy webhook
|
||||||
run: |
|
run: |
|
||||||
curl -sS -X POST http://127.0.0.1:9000/hooks/deploy-trisolarisserver
|
curl -sS -X POST -H "X-Gitea-Event: push" http://127.0.0.1:9000/hooks/deploy-trisolarisserver
|
||||||
|
|||||||
Reference in New Issue
Block a user