mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
Merge pull request #1010 from SAP/sv-docu
Docu generation for GoLang Steps
This commit is contained in:
commit
88d75b0d7c
@ -53,9 +53,12 @@ jobs:
|
||||
- stage: Docs
|
||||
name: Create Documentation
|
||||
install: docker pull squidfunk/mkdocs-material:3.0.4
|
||||
before_script: documentation/bin/createDocu.sh
|
||||
before_script:
|
||||
- documentation/bin/createDocu.sh
|
||||
- docker run -u `id -u`:`id -g` --rm -it -e GOCACHE=/tmp -v ${TRAVIS_BUILD_DIR}:/docu-gen golang sh -c "cd /docu-gen && go get github.com/SAP/jenkins-library/... && go run /docu-gen/pkg/generator/step-metadata.go --docuDir=/docu-gen/documentation/docs/steps/ --docuGen=true "
|
||||
script:
|
||||
- docker run -u `id -u`:`id -g` --rm -it -v ${TRAVIS_BUILD_DIR}/documentation:/docs squidfunk/mkdocs-material:3.0.4 build --clean --strict
|
||||
after_script:
|
||||
- mkdir -p documentation/docs-gen/misc
|
||||
- cp target/docuMetaData.json documentation/docs-gen/misc
|
||||
deploy:
|
||||
|
Loading…
Reference in New Issue
Block a user