GitHubWikiNotifier
Notify info of GitHub Wiki by specific notifier
Constructor Summary
Public Constructor | ||
public |
constructor(notifierName: string) Constructor |
Member Summary
Public Members | ||
public |
notifier: * |
Method Summary
Public Methods | ||
public |
notify to service |
|
public |
notifyFromPayload(payload: Object, opts: Object): Promise notify from payload |
|
public |
notifyFromRepository(repository: string, opts: Object): Promise notify from repository |
Public Constructors
Public Members
public notifier: * source
Public Methods
public notify(opts: Object): Promise source
notify to service
Params:
Name | Type | Attribute | Description |
opts | Object | options |
|
opts.payload | Object |
|
GitHub Webhook payload |
opts.repository | string |
|
path to repository directory |
opts.cloneDir | string |
|
path to directory for cloning remote repository |
opts.maxLength | number |
|
max length |
opts.dryRun | boolean |
|
a flag for disable sending |