name: Java deploy on: push: branches: - "master" - "main" jobs: deploy: uses: valitydev/java-workflow/.github/workflows/maven-thrift-deploy.yml@v1 secrets: server-username: ${{ secrets.OSSRH_USERNAME }} server-password: ${{ secrets.OSSRH_TOKEN }} deploy-secret-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} deploy-secret-key-password: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} mm-webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}