An open API service indexing awesome lists of open source software.

https://github.com/vijaycs85/github-publisher


https://github.com/vijaycs85/github-publisher

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Github Publisher
==========================
Runs CLI commands to clone a github repository and commits the changes and push to given branch.

WARNING: Executes commands using `exec()`.

Install
-------
`composer require vijaycs85/github-publisher`

Usage
-----

```$php
publish(__DIR__ . '/public', 'gh-pages');
```

>NOTE: Get the token from [Personal access tokens](https://github.com/settings/tokens).