summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2015-12-24 21:50:03 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2015-12-24 21:50:03 +0200
commitaafd7ce83bf1f6c1074b93ad489caa03e5b20786 (patch)
tree608e451d6b2af7ebb3d7d7b96c911c0732a35207 /doc
parent6fce8b6f5cfee1fe17ef7cdb5508b66da93f1f14 (diff)
downloadgitlab-ce-aafd7ce83bf1f6c1074b93ad489caa03e5b20786.tar.gz
Remove triggers from yaml doc [ci skip]
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/yaml/README.md27
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 6862116cc5b..fd0d49de4e4 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -66,7 +66,6 @@ There are a few reserved `keywords` that **cannot** be used as job names:
| before_script | no | Define commands that run before each job's script |
| variables | no | Define build variables |
| cache | no | Define list of files that should be cached between subsequent runs |
-| trigger | no | Force a rebuild of a specific branch or tag with an API call |
### image and services
@@ -153,32 +152,6 @@ cache:
- binaries/
```
-### trigger
-
-Triggers can be used to force a rebuild of a specific branch or tag with an API
-call. You can add a trigger by visiting the project's **Settings > Triggers**.
-
-Every new trigger you create, gets assigned a different token which you can
-then use inside your `.gitlab-ci.yml`:
-
-```yaml
-trigger:
- stage: deploy
- script:
- - "curl -X POST -F token=TOKEN -F ref=master https://gitlab.com/api/v3/projects/9/trigger/builds"
-```
-
-In the example above, a rebuild on master branch will be triggered after all
-previous stages build successfully (denoted by `stage: deploy`).
-
-You can find the endpoint containing the ID of the project on the **Triggers**
-page.
-
-_**Warning:** Be careful how you set up your triggers, because you could end up
-in an infinite loop._
-
-Read more in the dedicated [triggers documentation](../triggers/README.md).
-
## Jobs
`.gitlab-ci.yml` allows you to specify an unlimited number of jobs. Each job