GithubHelp home page GithubHelp logo

Comments (2)

alexfinnarn avatar alexfinnarn commented on May 28, 2024 2

Thanks @rlueder for the explanation. I can also say I ended up using this method of directly setting HEROKU_API_KEY config var in the pipeline settings and it just works.

This is kind of documentation...and good enough for people searching for the answer, but I am too busy now to formally add to docs. So, whoever monitors these issues can close this one if no one has time to add to docs. I no longer have this issue.

from heroku-buildpack-cli.

rlueder avatar rlueder commented on May 28, 2024 1

After spending more time on this than I'm willing to admit I eventually got it working by directly setting HEROKU_API_KEY under my pipeline settings (see attached)

image

On your local terminal (assuming you have already logged into the CLI app with your username/password) run: heroku authorizations:create --short this will create a long-lived token you can use to set HEROKU_API_KEY

You'll also want to wrap your command inside of heroku run e.g.
heroku run "heroku pg:copy stage-app-name::$DATABASE_URL $DATABASE_URL -a $HEROKU_APP_NAME --confirm $HEROKU_APP_NAME" -a $HEROKU_APP_NAME

from heroku-buildpack-cli.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.