Ansible role for GitHub webhook handler https://docs.github.com/en/webhooks/about-webhooks
Go to file
Alexis Pentori c44ac9d541
Update readme
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-05-30 17:26:36 +02:00
defaults Role intialization 2023-05-30 14:30:02 +02:00
files Role intialization 2023-05-30 14:30:02 +02:00
meta Role intialization 2023-05-30 14:30:02 +02:00
tasks Role intialization 2023-05-30 14:30:02 +02:00
templates Role intialization 2023-05-30 14:30:02 +02:00
README.md Update readme 2023-05-30 17:26:36 +02:00

README.md

Description

This is a helper role that deploy a python server for github webhook

Configuration

The following parameter have to be added

github_webhook_service_user:
github_webhook_dest_path:
github_webhook_secret:
github_webhook_ssh_key:
github_webhook_repo_url:
github_webhook_repo_branch:

github_webhook_dest_path correspond to the base path where the repository will be cloned. The name of the repo owner and the repo name will be added to the path.

The github_webhook_secret is generated when configuring the webhook in the repository.

The public key associated to github_webhook_ssh_key has to be added as a Deploy key in the repository setting.