From 3ebee351ad48f7fb9f2610864989af679823dc62 Mon Sep 17 00:00:00 2001 From: Thomas Peetz Date: Thu, 29 Aug 2019 13:42:13 +0200 Subject: [PATCH] Separate build from documentation --- .gitlab-ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7287531..274346e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 ✅ +