Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.33 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.33 KB

putingh (Put in GH)

Put file in the GH

Go Report Card GoDoc GitHub license

Usage

# Put file in git repository
GH_TOKEN=you_github_token putingh git://owner/repository/branch/name[/name]... localfile

# Put file in git repository release assets
GH_TOKEN=you_github_token putingh asset://owner/repository/release/name localfile

# Put file in gist
GH_TOKEN=you_github_token putingh gist://owner/gist_id/name localfile

# Get file from git repository
GH_TOKEN=you_github_token putingh git://owner/repository/branch/name[/name]...

# Get file from git repository release assets
GH_TOKEN=you_github_token putingh asset://owner/repository/release/name

# Get file from gist
GH_TOKEN=you_github_token putingh gist://owner/gist_id/name

Example

wzshiming/action-upload-release-assets

License

Licensed under the MIT License. See LICENSE for the full license text.