Github webhook component using AWS API gateway
Name | Type | Description |
---|---|---|
function | string required |
function |
githubApiToken | string required |
GitHub personal access token needed for access to the GitHub API. Create a token |
githubRepo | string required |
The GitHub repos URL |
webhookTriggers | array required |
webhookTriggers |
Name | Type | Description |
---|---|---|
function | string |
The function which is used for this WebHook |
githubApiToken | string |
GitHub personal access token needed for access to the GitHub API. |
githubRepo | string |
The GitHub repos URL |
webhookTriggers | array |
The WebHook triggers which are used |
type: my-application
components:
myGithubWebhookAws:
type: github-webhook-aws
inputs:
githubApiToken: 2c5acc7de3b140ser3114fd40a24vd5ie3d843b5
githubRepo: 'https://github.com/serverless/components/'
webhookTriggers:
- create