summaryrefslogtreecommitdiff
path: root/ci-prod-websites.ick
diff options
context:
space:
mode:
Diffstat (limited to 'ci-prod-websites.ick')
-rw-r--r--ci-prod-websites.ick40
1 files changed, 39 insertions, 1 deletions
diff --git a/ci-prod-websites.ick b/ci-prod-websites.ick
index f88f80e..4150433 100644
--- a/ci-prod-websites.ick
+++ b/ci-prod-websites.ick
@@ -48,7 +48,26 @@ projects:
- ick/get_sources
- ikiwiki_subplot_incremental
- ick/save_workspace
-
+
+- project: ideas.liw.fi
+ parameters:
+ <<: *website_params
+ workspace_name: ideas.liw.fi
+ rsync_src: publish
+ rsync_target: ickliwfi@ideas.liw.fi:/srv/http/ideas.liw.fi
+ sources:
+ - name: source
+ ref: master
+ location: src
+ repo: ssh://git@git.liw.fi/ideas
+ pipelines:
+ - ick/setup_container
+ - ick/add_apt_signing_keys
+ - ick/add_apt_sources
+ - ick/restore_workspace
+ - ick/get_sources
+ - build_and_publish_subplots
+
- project: journal.liw.fi
parameters:
<<: *website_params
@@ -265,3 +284,22 @@ pipelines:
- action: rsync
where: host
+
+ - pipeline: build_and_publish_subplots
+ parameters:
+ - sources
+ - rsync_src
+ - rsync_target
+ actions:
+ - where: container
+ shell: |
+ apt-get update
+ apt-get install -y subplot make pandoc texlive-latex-base \
+ texlive-latex-recommended texlive-fonts-recommended librsvg2-bin graphviz
+ mkdir publish
+ cd src
+ make
+ cp *.html *.pdf /workspace/publish
+
+ - action: rsync
+ where: host