Commit ad7ca074 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg Committed by Evan Read

Server hooks: explain different GL_PROTOCOL values

parent cf43c0ca
...@@ -142,7 +142,7 @@ The following set of environment variables are available to server hooks. ...@@ -142,7 +142,7 @@ The following set of environment variables are available to server hooks.
|:---------------------|:----------------------------------------------------------------------------| |:---------------------|:----------------------------------------------------------------------------|
| `GL_ID` | GitLab identifier of user that initiated the push. For example, `user-2234` | | `GL_ID` | GitLab identifier of user that initiated the push. For example, `user-2234` |
| `GL_PROJECT_PATH` | (GitLab 13.2 and later) GitLab project path | | `GL_PROJECT_PATH` | (GitLab 13.2 and later) GitLab project path |
| `GL_PROTOCOL` | (GitLab 13.2 and later) Protocol used with push | | `GL_PROTOCOL` | (GitLab 13.2 and later) Protocol used for this change. One of: `http` (Git Push using HTTP), `ssh` (Git Push using SSH), or `web` (all other actions). |
| `GL_REPOSITORY` | `project-<id>` where `id` is the ID of the project | | `GL_REPOSITORY` | `project-<id>` where `id` is the ID of the project |
| `GL_USERNAME` | GitLab username of the user that initiated the push | | `GL_USERNAME` | GitLab username of the user that initiated the push |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment