maze-generator/.drone.yml
Manuel Friedli cae4221157
All checks were successful
continuous-integration/drone/push Build is passing
Disable automatic deployment.
2026-01-24 00:07:55 +01:00

38 lines
853 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: maven:3.9-eclipse-temurin-25
commands:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
when:
ref:
include:
- refs/head/main
- refs/head/feature/**
- refs/tags/**
- name: test
image: maven:3.9-eclipse-temurin-25
commands:
- mvn test -B
when:
branch:
include:
- main
- feature/*
# - name: deploy
# image: maven:3.9-eclipse-temurin-25
# environment:
# REPO_TOKEN:
# from_secret: repo-token
# REPO_TOKEN_OSSRH:
# from_secret: repo-token-ossrh
# commands:
# - mvn -s maven-settings.xml deploy -DskipTests=true
# when:
# branch:
# - main
# event:
# exclude:
# - pull_request