Commit c8ca6ff2 authored by Sabina Köfler's avatar Sabina Köfler
Browse files

Update .gitlab-ci.yml file

parent 6de7faf7
Pipeline #1720 failed with stages
in 2 minutes and 42 seconds
...@@ -8,7 +8,7 @@ cache: ...@@ -8,7 +8,7 @@ cache:
before_script: before_script:
- npm install gitbook-cli -g # install gitbook - npm install gitbook-cli -g # install gitbook
- npm install calibre # for exporting as pdf - npm install calibre
- gitbook fetch 3.2.3 # fetch final stable version - gitbook fetch 3.2.3 # fetch final stable version
- gitbook install # add any requested plugins in book.json - gitbook install # add any requested plugins in book.json
...@@ -24,14 +24,11 @@ test: ...@@ -24,14 +24,11 @@ test:
pdf: pdf:
stage: build stage: build
before_script:
- mkdir ebooks
script: script:
- gitbook install # add any requested plugins in book.json - gitbook pdf . ${CI_PROJECT_NAME}.pdf # pdf build
- gitbook pdf . ebooks/${CI_PROJECT_NAME}.pdf # pdf build
artifacts: artifacts:
paths: paths:
- ebooks/${CI_PROJECT_NAME}.pdf - ${CI_PROJECT_NAME}.pdf
expire_in: 1 day expire_in: 1 day
only: only:
- main # this job will affect only the 'master' branch - main # this job will affect only the 'master' branch
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment