artarts36/ci-git-sender

There is no license information available for the latest version (0.1.2) of this package.

CI Git Sender

0.1.2 2021-11-26 11:05 UTC

This package is auto-updated.

Last update: 2024-02-08 08:31:53 UTC


README

PHP Composer License: MIT Total Downloads

This is an auxiliary PHP package for sending commits during the CI pipelines.

Installation

Run: composer require artarts36/ci-git-sender

Example

$sender = \ArtARTs36\CiGitSender\Sender\Factory\SenderFactory::local()
->create(__DIR__, new \ArtARTs36\CiGitSender\Remote\Credentials('my-login', 'my-token'));

$sender->send('readme.md', new \ArtARTs36\CiGitSender\Commit\Message('My file to {$BRANCH}'));