Separate build from documentation

This commit is contained in:
Thomas Peetz
2019-08-29 13:42:13 +02:00
parent fc6e9d3e3e
commit 3ebee351ad
+3 -7
View File
@@ -2,17 +2,17 @@ stages:
- build - build
- test - test
- deploy - deploy
- notify - doc
before_script: before_script:
- go get -u github.com/jstemmer/go-junit-report - go get -u github.com/jstemmer/go-junit-report
- go get -u github.com/t-yuki/gocover-cobertura - go get -u github.com/t-yuki/gocover-cobertura
Create Documentation: Create Documentation:
stage: build stage: doc
script: script:
- chmod +x docs/gradlew - chmod +x docs/gradlew
- cd docs; ./gradlew --no-daemon asciidoctor - cd docs; ./gradlew asciidoctor
artifacts: artifacts:
paths: paths:
- docs/build/asciidoc/pdf/kalorienmanager.pdf - docs/build/asciidoc/pdf/kalorienmanager.pdf
@@ -58,7 +58,3 @@ Deploy to Production:
- master - master
when: manual when: manual
Notify Telegram:
stage: notify
script:
- sh .ci-notify.sh ✅