java-commons/.woodpecker.yml

30 lines
893 B
YAML
Raw Normal View History

2022-11-01 18:57:18 +01:00
pipeline:
maven:
2023-02-23 14:31:06 +01:00
image: gradle:latest
2022-11-01 18:57:18 +01:00
pull: true
commands:
2023-02-23 14:31:06 +01:00
- 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
2022-11-01 18:57:18 +01:00
secrets: [ maven_token, maven_name ]
when:
- branch: master
2023-02-23 14:31:06 +01:00
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