diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-01 04:24:02 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-01 04:24:02 +0000 |
commit | a2767e2b711cf294ebd7a22ef32b4701463ea9b3 (patch) | |
tree | d2c7991b14cac5f67f770986fd6f48054f580aeb | |
parent | 68fc36d81118530043008bc1ede760628668f3a9 (diff) | |
download | gitlab-ce-a2767e2b711cf294ebd7a22ef32b4701463ea9b3.tar.gz |
Docs: Fix spacing in code blocks in webhook raketask doc
-rw-r--r-- | doc/raketasks/web_hooks.md | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/raketasks/web_hooks.md b/doc/raketasks/web_hooks.md index ae64191df2d..2c6ae0749dd 100644 --- a/doc/raketasks/web_hooks.md +++ b/doc/raketasks/web_hooks.md @@ -3,53 +3,53 @@ ## 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 +# 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 +# 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 +# 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 +# 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 +# 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**: ```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 +# 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 +``` |