Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Heroku deployment when both composer.json and package.json exist #56

Closed
jbrooksuk opened this issue Nov 27, 2014 · 2 comments
Closed
Assignees
Labels
Bug Bugs with Cachet Help Wanted Issues that need more help
Milestone

Comments

@jbrooksuk
Copy link
Member

Heroku deployment will break when there is a composer.json and package.json as the buildstep favours Node.js deployment over PHP.

I know that there are ways to change the buildpack when creating an app, but we need to investigate whether this is possible from within app.json.

We'll probably want to get in touch with @heroku themselves on this.

@jbrooksuk jbrooksuk added Bug Bugs with Cachet Help Wanted Issues that need more help labels Nov 27, 2014
@jbrooksuk jbrooksuk self-assigned this Nov 27, 2014
@Salakar
Copy link

Salakar commented Nov 28, 2014

You can specify the build pack in app.json

    "env": {
        "BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-php"
    }

Not sure if that's what you're after?

@jbrooksuk
Copy link
Member Author

@Salakar that's perfect, I was wondering if it's something that was set using the heroku command, I forgot it's just an env var.

@GrahamCampbell GrahamCampbell modified the milestone: V0.1.0 Alpha Jul 25, 2015
@efriel efriel mentioned this issue May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bugs with Cachet Help Wanted Issues that need more help
Projects
None yet
Development

No branches or pull requests

3 participants