File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ jobs: # a collection of steps
4141 - store_test_results : # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
4242 path : test-results.xml
4343
44- book :
44+ docs :
4545 docker :
4646 - image : circleci/ruby:2.5.3-stretch
4747 environment :
@@ -67,15 +67,15 @@ jobs: # a collection of steps
6767 - gemfile-{{ checksum "book/config/Gemfile.lock" }}
6868 - run :
6969 name : Bundle Install.pre - install mathematical for 'asciidoctor-mathematical' gem
70- command : cd book/config && bundle check || sudo apt-get update && sudo apt-get -qq -y install cmake bison flex libffi-dev libxml2-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev ttf-lyx
70+ command : cd book/config && bundle check --path vendor/bundle || sudo apt-get update && sudo apt-get -qq -y install cmake bison flex libffi-dev libxml2-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev ttf-lyx
7171
7272 - run :
7373 name : Bundle Install.pre - install GraphicsMagick for 'prawn-gmagick' gem
74- command : cd book/config && bundle check || sudo apt-get -qq -y install graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat
74+ command : cd book/config && bundle check --path vendor/bundle || sudo apt-get -qq -y install graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat
7575
7676 - run :
7777 name : Bundle Install
78- command : cd book/config && bundle check || bundle install
78+ command : cd book/config && bundle check || bundle install --path vendor/bundle
7979
8080 # Store bundle cache
8181 - save_cache :
@@ -89,11 +89,14 @@ jobs: # a collection of steps
8989
9090 - run :
9191 name : generate PDF
92- command : cd book/config && make pdf
92+ command : cd book/config && make VERSION=1.2.2 pdf
93+
94+ - store_artifacts :
95+ path : /book/dist
9396
9497workflows :
9598 version : 2
96- build_and_book :
99+ build_and_docs :
97100 jobs :
98101 - build
99- - book
102+ - docs
You can’t perform that action at this time.
0 commit comments