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