diff --git a/.gitea/workflows/java.yml b/.gitea/workflows/java.yml index d1824a6..4898e20 100644 --- a/.gitea/workflows/java.yml +++ b/.gitea/workflows/java.yml @@ -1,10 +1,10 @@ name: Build Runner Java on: - workflow_run: - workflows: ["Build Runner Base"] - types: - - completed + push: + branches: + - 'master' + jobs: build_java: runs-on: 'priviliged' @@ -26,7 +26,6 @@ jobs: username: ${{ secrets.DEPLOY_USER }} password: ${{ secrets.DEPLOY_SECRET }} - name: Build and push java image - id: build_act_java uses: 'https://git.euph.dev/actions/docker-build-push@v5' with: context: "{{defaultContext}}:images/actions/java"