Skip to content

pseudomuto/githubpushlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Push Lib

Build Status

A simple library to programmatically push files to GitHub. The idea is to specify a file (or embedded resource) and have that file pushed to a specific repo at a specified path.

Installation

The project is distributed as a NuGet Package...

Install-Package GitHubPushLib

Usage

var service = new ContentService(token);
var file = new DiskFile("Files/content_file.gif");
var target = new FileTarget(owner, repo, file.Name);

service.PushFile(file, target, "pushing file via GitHubPushLib");

For a working demo, check out the Sample App...

About

A simple library for programmatically pushing files to github

Resources

License

Stars

Watchers

Forks

Packages

No packages published