ember-cli-deploy-github-pages
An ember-cli-deploy plugin to deploy to github pages.
Please Note: This is a work in progress and has not been published to
npm yet.
What is an ember-cli-deploy plugin?
A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks.
For more information on what plugins are and how they work, please refer to the Plugin Documentation.
Quick Start
To get up and running quickly, do the following:
$ ember install ember-cli-deploy-github-pages
$ ember deploy
Installation
Run the following command in your terminal:
ember install ember-cli-deploy-github-pages
Adjusting the Asset URL for Project Pages
If you are deploying this as project pages (e.g. johnnycoder.github.io/my-cool-project
) you'll need to update your baseURL
to
serve your assets from the correct folder after deploy.
if (environment === 'production') {
ENV.baseURL = '/my-cool-project';
project
}
Note: If you are deploying as an organization page, user page, or using a
CNAME to serve from a root domain (e.g. johnnycoders-super-cool-project.com
),
then you do not need to modify the root URL.
ember-cli-deploy Hooks Implemented
For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.
Configuration Options
For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.
Running Tests
For more information on using ember-cli, visit http://www.ember-cli.com/.