diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-01 03:36:23 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-01 03:36:23 +0000 |
commit | 20654fb9bf7673cf4f925f36e7bdc4818233cbb9 (patch) | |
tree | 46af5c176d6aedcb42ba9a9d47683c52af813cb4 /doc/raketasks/web_hooks.md | |
parent | 276038c2f7c7c441d5b0f097077175b8ea8f8a16 (diff) | |
download | gitlab-ce-20654fb9bf7673cf4f925f36e7bdc4818233cbb9.tar.gz |
Enforce consistent prefix for bullet lists
Adjusts asterisks to hyphens in assorted docs to allow lint rule to pass
Diffstat (limited to 'doc/raketasks/web_hooks.md')
-rw-r--r-- | doc/raketasks/web_hooks.md | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/doc/raketasks/web_hooks.md b/doc/raketasks/web_hooks.md index df3dab118b2..ae64191df2d 100644 --- a/doc/raketasks/web_hooks.md +++ b/doc/raketasks/web_hooks.md @@ -2,42 +2,54 @@ ## Add a webhook for **ALL** projects: +```sh # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" # source installations bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" RAILS_ENV=production +``` ## Add a webhook for projects in a given **NAMESPACE**: +```sh # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme # source installations bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production +``` ## Remove a webhook from **ALL** projects using: +```sh # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" # source installations bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" RAILS_ENV=production +``` ## Remove a webhook from projects in a given **NAMESPACE**: +```sh # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme # source installations bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production +``` ## List **ALL** webhooks: +```sh # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:list # source installations bundle exec rake gitlab:web_hook:list RAILS_ENV=production +``` ## List the webhooks from projects in a given **NAMESPACE**: - # omnibus-gitlab - sudo gitlab-rake gitlab:web_hook:list NAMESPACE=acme - # source installations - bundle exec rake gitlab:web_hook:list NAMESPACE=acme RAILS_ENV=production +```sh + # omnibus-gitlab + sudo gitlab-rake gitlab:web_hook:list NAMESPACE=acme + # source installations + bundle exec rake gitlab:web_hook:list NAMESPACE=acme RAILS_ENV=production +```
\ No newline at end of file |