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

Add pdf

parent 63be0190
Pipeline #1719 failed with stages
in 29 seconds
......@@ -8,6 +8,7 @@ cache:
before_script:
- npm install gitbook-cli -g # install gitbook
- npm install calibre # for exporting as pdf
- gitbook fetch 3.2.3 # fetch final stable version
- gitbook install # add any requested plugins in book.json
......@@ -19,7 +20,22 @@ test:
- branches # this job will affect every branch except 'master'
except:
- main
pdf:
stage: build
before_script:
- mkdir ebooks
script:
- gitbook install # add any requested plugins in book.json
- gitbook pdf . ebooks/${CI_PROJECT_NAME}.pdf # pdf build
artifacts:
paths:
- ebooks/${CI_PROJECT_NAME}.pdf
expire_in: 1 day
only:
- main # this job will affect only the 'master' branch
# the 'pages' job will deploy and build your site to the 'public' path
pages:
stage: deploy
......
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