From 0afcc9b735ca91f1be5a53a7468c492ec7ee668c Mon Sep 17 00:00:00 2001 From: androidlover5842 Date: Mon, 26 Jan 2026 16:56:37 +0530 Subject: [PATCH] auto deploy --- .gitea/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..e6bbe0d --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,32 @@ +name: build + +on: + push: + branches: [ "**" ] + pull_request: + branches: [ "**" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK 19 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "19" + cache: gradle + + - name: Build + run: ./gradlew -q assemble + + 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