The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

GitHub::WebHook::Clone - Clone and update a working tree via GitHub WebHook

SYNOPSIS

use Plack::App::GitHub::WebHook;

Plack::App::GitHub::WebHook->new(
    hook => { 
        Clone => [
            branch    => 'master',
            work_tree => $directory,
        ]
    )
)->to_app;

DESCRIPTION

This module can be used to clone and update a git repository via GitHub WebHook.

CONFIGURATION

branch

Which branch to clone (master by default).

work_tree

Working tree directory.

git_dir

Repository directory. By default this is directory .git in the working tree directory.

SEE ALSO

GitHub::WebHook, GitHub::WebHook::Run, Git::Repository

COPYRIGHT AND LICENSE

Copyright Jakob Voss, 2015-

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.