java-commons/.woodpecker.yml
JFronny 425c45ba71
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Set up javadoc
2023-02-23 14:31:06 +01:00

30 lines
893 B
YAML

pipeline:
maven:
image: gradle:latest
pull: true
commands:
- gradle publish javadoc -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
- mkdir javadoc
- mv commons-gson/build/docs/javadoc javadoc/commons-gson
- mv commons-manifold/build/docs/javadoc javadoc/commons-manifold
- mv commons-slf4j/build/docs/javadoc javadoc/commons-slf4j
- mv muscript/build/docs/javadoc javadoc/muscript
- mv build/docs/javadoc javadoc/commons
secrets: [ maven_token, maven_name ]
when:
- branch: master
publishJavadoc:
image: woodpeckerci/plugin-s3
settings:
bucket: pages
region: nebula
path_style: true
endpoint: https://s3.frohnmeyer-wds.de
access_key: pages
secret_key:
from_secret: pages_secret
source: javadoc/**/*
target: /${CI_REPO}
when:
- branch: master