summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-11-03 08:31:29 +0000
committerLars Wirzenius <liw@liw.fi>2021-11-03 08:31:29 +0000
commit9678c192825e52ba4c134c9f82bfb9fd7286c929 (patch)
tree0d235171f09afa9f87dab9093e768255185ed622
parent11e7831f59976cb4afb3592afbed8fcea1ab4881 (diff)
parentf0b5df21f89fc2b1f6fa25a9bcad3abc2fd053c3 (diff)
downloadsq-user-guide-9678c192825e52ba4c134c9f82bfb9fd7286c929.tar.gz
Merge branch 'add-ci' into 'main'
doc: Add rendering of documentation Closes #12 See merge request sequoia-pgp/sq-user-guide!2
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..d089df6
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,14 @@
+image: "debian"
+
+pages:
+ script:
+ - apt-get update -yqq
+ - apt-get install -yqq --no-install-recommends pandoc build-essential git texlive-latex-extra texlive-latex-base texlive-fonts-recommended lmodern
+ - make
+ - mv sq-guide.html index.html
+ artifacts:
+ paths:
+ - sq-guide.pdf
+ - index.html
+ rules:
+ - if: '$CI_COMMIT_BRANCH == "main"'