Skip to content

ember-cli-deploy middleware? #25

Open

Description

@lolmaus

Hi!

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.

Activity

  1. mike183 commented on Feb 18, 2017

    @mike183
    Contributor

    Could this not be resolved using the destDir option to change where the build is outputted?

  2. lolmaus commented on Feb 19, 2017

    @lolmaus
    Author

    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.

  3. lolmaus commented on Feb 19, 2017

    @lolmaus
    Author

    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 to ember-cli-deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions