Registry / devops / ember-cli-github-pages

ember-cli-github-pages

JSON →
library0.2.2jsnpmunverified

Ember CLI addon for deploying Ember apps to GitHub Pages. v0.2.2 is the latest release (last updated ~2019) and is in maintenance mode. It provides ember-cli commands to build and commit to gh-pages branch, with support for project, user, and organization pages, including options like --branch and rootURL. No active development, but stable for existing Ember projects.

npm install ember-cli-github-pages
INSTALL
IMPORT
SIG · EMBER-CLI-GITHUB-P
E
ember-cli-github-pages
devopsjavascriptv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Install the addon and run the commit command to deploy to gh-pages.

ember install ember-cli-github-pages --save-dev ember github-pages:commit --message "Deploy to GitHub Pages"
ember --version
Debug
Known issues
gotchaThe addon modifies tests/dummy/config/environment.js automatically; ensure Git is clean before installing.
fix
Check for uncommitted changes before running `ember install ember-cli-github-pages`.
affects: >=0.1.0 <0.3.0
gotchaFor Org/User pages, rootURL is typically '/'; the addon's default rootURL configuration may cause broken assets.
fix
Manually set rootURL to '/' in config/environment.js before deployment.
affects: >=0.1.0 <0.3.0
gotchaThe addon expects a 'master' branch for Org/User pages; using --branch master is required or gh-pages must track origin/master.
fix
Either pass --branch master or set up branch tracking with `git branch --set-upstream gh-pages origin/master`.
affects: >=0.1.0 <0.3.0
deprecatedNode engine requirement: 8.* || >= 10.*; Node 8 is EOL.
fix
Use Node >=10.x for compatibility.
affects: =0.2.2
Errors
Common errors & fixes
Could not find command 'github-pages:commit'.
Addon not installed or not loaded by ember-cli.
fix
Run `ember install ember-cli-github-pages` and ensure it's in devDependencies.
Path or pattern .gitignore did not match any files
gh-pages branch created incorrectly, missing .gitignore.
fix
Recreate gh-pages branch following the setup steps exactly.
Upgrade
Version history
0.2.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
OpenAI (training)
2
Resources
ember-cli-github-pages — npm install ember-cli-github-pages · libregistry