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.
22 lines
500 B
22 lines
500 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
|
|
|