Separate build from documentation
This commit is contained in:
+3
-7
@@ -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 ✅
|
|
||||||
|
|||||||
Reference in New Issue
Block a user