Remove Drone configuration

master
Graham 1 year ago
parent 145d2f79b7
commit 345a0fd92f
  1. 42
      .drone.yml
  2. 1
      .gitignore

@ -1,42 +0,0 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: registry.openrs2.org/openrs2-dev
commands:
- mvn clean verify
- name: deploy
image: registry.openrs2.org/openrs2-dev
commands:
- |
cat <<EOF > $${HOME}/.m2/settings.xml
<settings>
<servers>
<server>
<id>openrs2</id>
<username><![CDATA[$${REPO_USERNAME}]]></username>
<password><![CDATA[$${REPO_PASSWORD}]]></password>
</server>
<server>
<id>openrs2-snapshots</id>
<username><![CDATA[$${REPO_USERNAME}]]></username>
<password><![CDATA[$${REPO_PASSWORD}]]></password>
</server>
</servers>
</settings>
EOF
- mvn deploy
environment:
REPO_USERNAME:
from_secret: repo_username
REPO_PASSWORD:
from_secret: repo_password
when:
branch:
- master
event:
exclude:
- pull_request

1
.gitignore vendored

@ -1,5 +1,4 @@
.* .*
!.drone.yml
!.editorconfig !.editorconfig
!.git* !.git*
!.mailmap !.mailmap

Loading…
Cancel
Save