Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3f5187ad
Commit
3f5187ad
authored
Aug 21, 2020
by
Roger Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix example within file_hooks documentation
Closes #217984
parent
dfdfb82d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/docs-file_hook.yml
changelogs/unreleased/docs-file_hook.yml
+5
-0
doc/administration/file_hooks.md
doc/administration/file_hooks.md
+1
-1
No files found.
changelogs/unreleased/docs-file_hook.yml
0 → 100644
View file @
3f5187ad
---
title
:
Fix example within file_hooks documentation
merge_request
:
40071
author
:
Roger Meier
type
:
fixed
doc/administration/file_hooks.md
View file @
3f5187ad
...
...
@@ -71,9 +71,9 @@ Below is an example that will only response on the event `project_create` and
will inform the admins from the GitLab instance that a new project has been created.
```
ruby
#!/opt/gitlab/embedded/bin/ruby
# By using the embedded ruby version we eliminate the possibility that our chosen language
# would be unavailable from
#!/opt/gitlab/embedded/bin/ruby
require
'json'
require
'mail'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment