Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tissue Research JKU
Tissue Research Doc
Commits
6de7faf7
Commit
6de7faf7
authored
Mar 23, 2022
by
Sabina Köfler
Browse files
Add pdf
parent
63be0190
Pipeline
#1719
failed with stages
in 29 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6de7faf7
...
...
@@ -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
...
...
@@ -20,6 +21,21 @@ test:
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment