You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the primary uses of ember-cli-staticboot is to host a static webapp on GitHub Pages.
But the fact that ember-cli-staticboot builds into the dist/staticboot/ folder prevents ember-cli-deploy from deploying the distro properly to GitHub Pages.
No, unfortunately, because destDir cannot be /, i. e. the root of the dist folder. In other words, you can choose the name of a subfolder, but you can't replace the main folder with its content.
Activity
mike183 commentedon Feb 18, 2017
Could this not be resolved using the
destDiroption to change where the build is outputted?lolmaus commentedon Feb 19, 2017
No, unfortunately, because
destDircannot be/, i. e. the root of the dist folder. In other words, you can choose the name of a subfolder, but you can't replace the main folder with its content.lolmaus commentedon Feb 19, 2017
Here's a proof of concept:
https://github.com/lolmaus/lolma.us/blob/b7c1163dccab5d21c4bc4245b0483da5f698fa4a/lib/ember-cli-deploy-manipulate/index.js
This thing took so much time and effort that I almost lost hope.
I had to monkey patch
ember-cli-deploy, so this is not ready to become an addon yet. Gonna try contributing toember-cli-deploy.