java-commons/.woodpecker.yml
JFronny b92f9c3d4f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Attempt to fix doc
2023-02-23 14:38:08 +01:00

32 lines
944 B
YAML

pipeline:
maven:
image: gradle:latest
pull: true
commands:
- apt update
- apt install -y graphviz
- 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