Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3a69aaa

Browse files
artifacts
1 parent 6a4dc4d commit 3a69aaa

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

‎.circleci/config.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff 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

9497
workflows:
9598
version: 2
96-
build_and_book:
99+
build_and_docs:
97100
jobs:
98101
- build
99-
- book
102+
- docs

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /