diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..34f0403 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,39 @@ +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