Skip to content

Commit 8766747

Browse files
committed
Fomatting changed
1 parent aa66d04 commit 8766747

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ Provider and edit the `config/git-hook.php` file to make it fit your needs.
4040

4141
Custom configuration can be made within the `config/git-hook.php` file:
4242

43-
| Parameter | Default | Options | Description |
44-
| --------------------- | :-----------------------------------: | :------------------------------------------------------------------:| --------------------------------------------------------------------------------------------------------: |
45-
| email_recipients | `[]` | `[ ['name' => 'Admin', 'address' => '[email protected]'], ... ]` | Get notified by mail. Just add your credentials |
46-
| email_email_sender | `['address' => null, 'name' => null]` | `['address' => null, 'name' => null]` | Specify a custom email sender address |
47-
| repo_path | `null` | Leave empty to auto detect the vcs root | Perhaps your repository is somehow specially structured, if that's the case, specify your repository path |
48-
| allowed_sources | `[]` | `['192.168.1.1', '192.168.1.2', ...]` | If you want to secure the deployment process a bit more, whitelist the remote repository IPs |
49-
| remote | `origin` | | Your remote branch name |
50-
| git_path | `/usr/bin/git` | | Where is the git binary located |
51-
| logfile | `git-hook` | | Name of the logfile. It will be stored under storage/logs |
52-
| service | `github` | `github`, `gitbucket` | Define your remote git service. This is required to identify the payload |
53-
| url | `git-hook` | | Define the deployment url. Keep in mind, that the given parameter will be added to your app.url |
54-
| before_pull | `[]` | `['down', ['some:command', ['arg1' => 1]]]` | If you have any commands that have to be called before a pull event, specify them here |
55-
| after_pull | `[]` | `['route:clear', ['some:command', ['arg1' => 1]], 'up']` | If you have any commands that have to be called after a pull event, specify them here |
43+
| Parameter | Default | Options | Description |
44+
| ------------------ | :-------------------------------: | :---------------------------------------------: | --------------------------------------------------------------------------------------------------------: |
45+
| email_recipients | `[]` | `[['name' => '', 'address' => ''], ...]` | Get notified by mail. Just add your credentials |
46+
| email_email_sender | `['address' => '', 'name' => '']` | `['address' => '', 'name' => '']` | Specify a custom email sender address |
47+
| repo_path | `null` | Leave empty to auto detect the vcs root | Perhaps your repository is somehow specially structured, if that's the case, specify your repository path |
48+
| allowed_sources | `[]` | `['192.168.1.1', '192.168.1.2', ...]` | If you want to secure the deployment process a bit more, whitelist the remote repository IPs |
49+
| remote | `origin` | | Your remote branch name |
50+
| git_path | `/usr/bin/git` | | Where is the git binary located |
51+
| logfile | `git-hook` | | Name of the logfile. It will be stored under storage/logs |
52+
| service | `github` | `github`, `gitbucket` | Define your remote git service. This is required to identify the payload |
53+
| url | `git-hook` | | Define the deployment url. Keep in mind, that the given parameter will be added to your app.url |
54+
| before_pull | `[]` | `['down', ['cmd', ['arg1' => 1]]]` | If you have any commands that have to be called before a pull event, specify them here |
55+
| after_pull | `[]` | `['route:clear', ['cmd', ['arg1' => 1]], 'up']` | If you have any commands that have to be called after a pull event, specify them here |
5656

5757

5858
If you are concerned someone could guess it, use a more cryptic url such as: `JHFUjhd67567JHFGhsd78236784wegfJHFghdgf`

0 commit comments

Comments
 (0)