ember-cli-github-pages | Easily manage gh-pages of your ember-cli addon | Addon library
kandi X-RAY | ember-cli-github-pages Summary
kandi X-RAY | ember-cli-github-pages Summary
If you need to throw up a quick example of your addon in action, this is the addon for you!. This addon provides new command(s) to help manage a gh-pages branch for your addon. It's an addon for addons.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ember-cli-github-pages
ember-cli-github-pages Key Features
ember-cli-github-pages Examples and Code Snippets
Community Discussions
Trending Discussions on ember-cli-github-pages
QUESTION
My organization is using Ember addons to develop a set of shared components between our applications. Let's call this repository app-components
. Currently the components application's primary responsibility is to distribute CSS, fonts and images.
We are also building a living styleguide that will ingest our shared components and present them in a neutral way for developers to reference. Let's call this repository app-styleguide
. Our goal is to deploy app-styleguide
using ember-deploy
to deploy this solution to Github Pages. The url follows this pattern:
https://organization.github.io/app-styleguide/
When the app-styleguide
application makes it to the gh-pages
branch and is served as a webpage, all of the fonts and images being delivered by app-components
are giving us a 404. I have referenced a handful of different solutions to this problem, but I keep coming across the same solutions that we have tried.
I have tried using the following two ember addons that automate the deploy to github pages:
- https://github.com/poetic/ember-cli-github-pages
- https://www.npmjs.com/package/ember-cli-deploy-gh-pages
In the end we went with a vanilla ember-cli-deploy solution, as those two addons are quite old...
I have followed the instructions here to add rootUrl and
locationTypeproperties to our
environment.js` file, which has not worked:
Our environment.js file looks like this:
...ANSWER
Answered 2017-Jul-10 at 21:18I was able to receive some help over on the Ember Slack Community (special thanks to @alexspeller). It turns out I needed to update a couple of settings in the fingerprinting of assets.
Using the included broccoli-asset-rev
library I had to modify my ember-cli-build.js
to include the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ember-cli-github-pages
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page