NaturesAura/.woodpecker/main.yml

19 lines
417 B
YAML
Raw Normal View History

2023-07-11 11:14:13 +02:00
steps:
build:
image: eclipse-temurin:17-jdk
commands:
- chmod +x ./gradlew
- ./gradlew build --no-daemon
maven-publish:
image: eclipse-temurin:17-jdk
when:
2023-09-19 21:59:53 +02:00
event: [push, manual]
2023-07-11 11:14:13 +02:00
branch: main
commands:
- chmod +x ./gradlew
- ./gradlew publish --no-daemon
environment:
- LOCAL_MAVEN=/var/www/maven
volumes:
- /var/www/maven:/var/www/maven