mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-05 04:49:10 +01:00
17 lines
389 B
YAML
17 lines
389 B
YAML
steps:
|
|
build:
|
|
image: eclipse-temurin:17-jdk
|
|
commands:
|
|
- chmod +x ./gradlew
|
|
- ./gradlew build --no-daemon
|
|
maven-publish:
|
|
image: eclipse-temurin:17-jdk
|
|
when:
|
|
branch: main
|
|
commands:
|
|
- chmod +x ./gradlew
|
|
- ./gradlew publish --no-daemon
|
|
environment:
|
|
- LOCAL_MAVEN=/var/www/maven
|
|
volumes:
|
|
- /var/www/maven:/var/www/maven
|