Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ci/yaml/includes.md')
-rw-r--r--doc/ci/yaml/includes.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/ci/yaml/includes.md b/doc/ci/yaml/includes.md
index 2b9f42e1c75..daf2e653250 100644
--- a/doc/ci/yaml/includes.md
+++ b/doc/ci/yaml/includes.md
@@ -13,8 +13,8 @@ You can use [`include`](index.md#include) to include external YAML files in your
To include a single configuration file, use either of these syntax options:
-- `include` by itself with a single file, which is the same as
- [`include:local`](index.md#includelocal):
+- `include` by itself with a single file. If this is a local file, it is the same as [`include:local`](index.md#includelocal).
+ If this is a remote file, it is the same as [`include:remote`](index.md#includeremote).
```yaml
include: '/templates/.after-script-template.yml'
@@ -31,7 +31,8 @@ To include a single configuration file, use either of these syntax options:
You can include an array of configuration files:
-- If you do not specify an `include` type, the type defaults to [`include:local`](index.md#includelocal):
+- If you do not specify an `include` type, each array item defaults to [`include:local`](index.md#includelocal)
+ or [`include:remote`](index.md#includeremote), as needed:
```yaml
include: