commit 95a14140327be378c52087b3229cf7bd4923b497
parent aa1349f5901b3c257ec6fab18353bf045222c2f1
Author: Stefan Koch <programming@stefan-koch.name>
Date: Sun, 15 Sep 2019 23:15:31 +0200
add subheadings in README for better overview
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -41,12 +41,16 @@ Pipelines are executed in the order in which they are defined. For the
given configuration file it is ensured that first `test` is being executed
followed by `build-release`.
+### Variables
+
You can use variables in your build commands. These variables will get
substituted with actual values from the build context. Currently supported
variables are:
- `{{ branch }}`: The name of the branch that is built
+### Conditions
+
You can conditionally execute a pipeline with the `when` option, for example
to run a pipeline only for specific branches: