forked from openrs2/openrs2
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
555 B
25 lines
555 B
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: registry.openrs2.dev/openrs2-dev
|
|
commands:
|
|
- ./gradlew --no-daemon clean build
|
|
|
|
- name: deploy
|
|
image: registry.openrs2.dev/openrs2-dev
|
|
commands:
|
|
- ./gradlew --no-daemon publish
|
|
environment:
|
|
ORG_GRADLE_PROJECT_openrs2RepoUsername:
|
|
from_secret: repo_username
|
|
ORG_GRADLE_PROJECT_openrs2RepoPassword:
|
|
from_secret: repo_password
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
exclude:
|
|
- pull_request
|
|
|