Merge pull request #2 from appleboy/doc

docs: add Template variable
This commit is contained in:
Bo-Yi Wu
2019-04-05 07:14:33 +08:00
committed by GitHub
+14
View File
@@ -107,3 +107,17 @@ See the result: (get chat id like `65382999`)
]
}
```
## Template variable
| Github Variable | Telegram Temaplte Variable |
|-------------------|----------------------------|
| GITHUB_REPOSITORY | repo |
| GITHUB_ACTOR | repo.namespace |
| GITHUB_SHA | commit.sha |
| GITHUB_REF | commit.ref |
| GITHUB_WORKFLOW | github.workflow |
| GITHUB_ACTION | github.action |
| GITHUB_EVENT_NAME | github.event.name |
| GITHUB_EVENT_PATH | github.event.path |
| GITHUB_WORKSPACE | github.workspace |