summaryrefslogtreecommitdiff
path: root/doc/api/ci/lint.md
diff options
context:
space:
mode:
authorMatt Lee <mattl@gitlab.com>2016-11-29 12:42:50 -0500
committerMatt Lee <mattl@gitlab.com>2016-11-29 12:42:50 -0500
commit2ed6941f519331a44204fbadc6d2d2a91087c6b8 (patch)
tree293ac446c600ad4148c97f1b89ee409824c94620 /doc/api/ci/lint.md
parent25e6e2fc73c476bdef8465975165894ac01da991 (diff)
downloadgitlab-ce-api-docs-fix.tar.gz
WIP: Updates our documentation to point to gitlab.comapi-docs-fix
Diffstat (limited to 'doc/api/ci/lint.md')
-rw-r--r--doc/api/ci/lint.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/ci/lint.md b/doc/api/ci/lint.md
index 0c96b3ee335..afd74e55346 100644
--- a/doc/api/ci/lint.md
+++ b/doc/api/ci/lint.md
@@ -13,7 +13,7 @@ POST ci/lint
| `content` | string | yes | the .gitlab-ci.yaml content|
```bash
-curl --header "Content-Type: application/json" https://gitlab.example.com/api/v3/ci/lint --data '{"content": "{ \"image\": \"ruby:2.1\", \"services\": [\"postgres\"], \"before_script\": [\"gem install bundler\", \"bundle install\", \"bundle exec rake db:create\"], \"variables\": {\"DB_NAME\": \"postgres\"}, \"types\": [\"test\", \"deploy\", \"notify\"], \"rspec\": { \"script\": \"rake spec\", \"tags\": [\"ruby\", \"postgres\"], \"only\": [\"branches\"]}}"}'
+curl --header "Content-Type: application/json" https://gitlab.com/api/v3/ci/lint --data '{"content": "{ \"image\": \"ruby:2.1\", \"services\": [\"postgres\"], \"before_script\": [\"gem install bundler\", \"bundle install\", \"bundle exec rake db:create\"], \"variables\": {\"DB_NAME\": \"postgres\"}, \"types\": [\"test\", \"deploy\", \"notify\"], \"rspec\": { \"script\": \"rake spec\", \"tags\": [\"ruby\", \"postgres\"], \"only\": [\"branches\"]}}"}'
```
Be sure to copy paste the exact contents of `.gitlab-ci.yml` as YAML is very picky about indentation and spaces.