https://github.com/cvan/ghpages
a CLI tool to easily deploy your current working branch to GitHub Pages
https://github.com/cvan/ghpages
Last synced: about 1 year ago
JSON representation
a CLI tool to easily deploy your current working branch to GitHub Pages
- Host: GitHub
- URL: https://github.com/cvan/ghpages
- Owner: cvan
- License: mit
- Created: 2015-12-03T13:26:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-25T22:03:57.000Z (almost 8 years ago)
- Last Synced: 2025-04-26T12:52:32.309Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 20
- Watchers: 0
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghpages
A command-line tool to easily deploy your current working branch to GitHub Pages.
## CLI Usage
```
Usage
$ ghpages
Options
-p, --path Path (directory to push; defaults to current directory)
-r, --repo Repository (GitHub username, GitHub username/repo, full repo URL)
-d, --domain Domain name (for `CNAME` to create in GitHub Pages branch)
-h, --help Show help
Examples
$ ghpages
$ ghpages cvan
$ ghpages cvan/blog
$ ghpages cvan/blog -p dist
$ ghpages git@github.com:cvan/blog.git
$ ghpages -r cvan/blog -d blog.cvan.io
```
## License
[MIT](LICENSE)
## Credits
This utility mostly wraps the fantastic [`gh-pages` package](https://github.com/tschaub/gh-pages).