diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2087387..0a2b47f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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