Remove Drone configuration

Signed-off-by: Graham <gpe@openrs2.org>
Graham 1 year ago
parent e92cd6b993
commit 7ba6433f8b
  1. 30
      .drone.yml
  2. 1
      .gitignore

@ -1,30 +0,0 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: registry.openrs2.org/openrs2-dev
commands:
- ./gradlew --no-daemon clean build
- name: deploy
image: registry.openrs2.org/openrs2-dev
commands:
- install -dm0700 $${HOME}/.ssh
- echo -n "$${SSH_KEY}" > $${HOME}/.ssh/id_ed25519
- chmod 0600 $${HOME}/.ssh/id_ed25519
- ./gradlew --no-daemon publish
environment:
ORG_GRADLE_PROJECT_openrs2Username:
from_secret: repo_username
ORG_GRADLE_PROJECT_openrs2Password:
from_secret: repo_password
SSH_KEY:
from_secret: ssh_key
when:
branch:
- master
event:
exclude:
- pull_request

1
.gitignore vendored

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

Loading…
Cancel
Save