kind: pipeline type: docker name: default steps: - name: build image: registry.openrs2.dev/openrs2-dev commands: - mvn clean verify - name: deploy image: registry.openrs2.dev/openrs2-dev commands: - | cat < $${HOME}/.m2/settings.xml openrs2 openrs2-snapshots EOF - mvn deploy environment: REPO_USERNAME: from_secret: repo_username REPO_PASSWORD: from_secret: repo_password when: branch: - master event: exclude: - pull_request