From b36a612b432b419931cd11aa8fe04d09ec720c14 Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 9 Jun 2019 12:27:00 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9aa8195..d9c23df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - coverage - - docs + - builddocs + - publishdocs variables: LC_ALL: "en_US.UTF-8" @@ -17,15 +18,20 @@ coverage: - ./scripts/coverage.sh - flutter pub pub publish --dry-run -docs:1: - stage: docs +builddocs: + stage: builddocs image: cirrusci/flutter script: - dartdoc + artifacts: + paths: + - doc/api/ -docs:2: +publishdocs: stage: docs image: ruby:2.3 script: - cd docs/api/ && bundle exec jekyll build -d test - - cd docs/api/ && bundle exec jekyll build -d public \ No newline at end of file + - cd docs/api/ && bundle exec jekyll build -d public + dependencies: + - builddocs \ No newline at end of file