upload artifact
This commit is contained in:
@@ -23,10 +23,16 @@ jobs:
|
||||
- name: Build
|
||||
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:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Trigger deploy webhook
|
||||
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