diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-08-18 19:47:57 +0200 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-08-18 19:47:57 +0200 |
commit | e76b1ffde930dd03d3eeed40eedc3dc12fad634f (patch) | |
tree | 7e2b343b3313263590bc5938318370459bdf7e32 | |
parent | 1db77dc14bbc48dcf9ed07a344fdc3e4df8cd733 (diff) | |
parent | c0f9abad8599a8954ac3c91218b8443339187fe2 (diff) | |
download | gitlab-ce-e76b1ffde930dd03d3eeed40eedc3dc12fad634f.tar.gz |
Merge pull request #7537 from Razer6/rake_tasks_style
Fix env variable style for documentation
-rw-r--r-- | doc/raketasks/web_hooks.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/raketasks/web_hooks.md b/doc/raketasks/web_hooks.md index ac32c01289d..e1a58835d88 100644 --- a/doc/raketasks/web_hooks.md +++ b/doc/raketasks/web_hooks.md @@ -5,41 +5,41 @@ # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" # source installations or cookbook - RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" + bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" RAILS_ENV=production ## Add a web hook for projects in a given **NAMESPACE**: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme # source installations or cookbook - RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme + bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production ## Remove a web hook from **ALL** projects using: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" # source installations or cookbook - RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" + bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" RAILS_ENV=production ## Remove a web hook from projects in a given **NAMESPACE**: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme # source installations or cookbook - RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme + bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production ## List **ALL** web hooks: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:list # source installations or cookbook - RAILS_ENV=production bundle exec rake gitlab:web_hook:list + bundle exec rake gitlab:web_hook:list RAILS_ENV=production ## List the web hooks from projects in a given **NAMESPACE**: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:list NAMESPACE=/ # source installations or cookbook - RAILS_ENV=production bundle exec rake gitlab:web_hook:list NAMESPACE=/ + bundle exec rake gitlab:web_hook:list NAMESPACE=/ RAILS_ENV=production > Note: `/` is the global namespace. |