summaryrefslogtreecommitdiff
path: root/architecture.mdwn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-06-09 13:47:02 +0300
committerLars Wirzenius <liw@liw.fi>2018-06-09 13:47:02 +0300
commita4321c0ddc3738052f1ecb8c827e03f9fce8d463 (patch)
tree1fc078789a88779c5f89a0fb4d36d44cb56f7b62 /architecture.mdwn
parentad071aaa2b6e50b996a14895f7c6bd098a019d1d (diff)
downloadick.liw.fi-a4321c0ddc3738052f1ecb8c827e03f9fce8d463.tar.gz
Change: improve the example project section
Diffstat (limited to 'architecture.mdwn')
-rw-r--r--architecture.mdwn5
1 files changed, 4 insertions, 1 deletions
diff --git a/architecture.mdwn b/architecture.mdwn
index 9c1af8b..9b87525 100644
--- a/architecture.mdwn
+++ b/architecture.mdwn
@@ -128,6 +128,7 @@ This might be expressed as an Ick configuration like this:
subprocess.check_call(*args, stdout=None, stderr=None)
R(['git', 'clone', '-vb', params['git_ref],
params['git_url'], 'src'])
+ where: host
- pipeline: build_ikiwiki_site
actions:
@@ -136,6 +137,7 @@ This might be expressed as an Ick configuration like this:
def R(*args):
subprocess.check_call(*args, stdout=None, stderr=None)
R(['ikiwiki', 'src/ikiwiki.setup'])
+ where: host
- pipeline: publish_html
parameters:
@@ -144,9 +146,10 @@ This might be expressed as an Ick configuration like this:
- shell: |
tgt="$(params | jq .)"
rsync -a --delete html/. "$tgt"
+ where: host
Note that pipelines are defined in the configuration by the user.
-Eventually, Ick will come with libraries of pre-defined pipelines that
+Eventually, ick will come with libraries of pre-defined pipelines that
can easily be reused, but it will always be possible for users to
define their own.