Separate build from documentation

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