Giter VIP home page Giter VIP logo

Comments (7)

jeromegn avatar jeromegn commented on May 18, 2024

Not mis-documented, it's not implemented.

It probably wouldn't be a huge change to be honest. It's currently hard-coded to production (in production), but we could get it from the release somehow.

from fly.

robmadole avatar robmadole commented on May 18, 2024

I end up hand-editing my .fly.yml between staging and production. It's a scary moment when i fly deploy. This would be our #1 ask.

from fly.

mrkurt avatar mrkurt commented on May 18, 2024

Right now you can add scripts in package.json to make this a little safer. In fact, you can remove app from the .fly.yml and then only the scripts in package.json will work:

    "deploy:prod": "npx fly --app <app>-production deploy",
    "deploy:stage": "npx fly --app <app>-staging deploy",

Then run npm run deploy:stage or npm run deploy:prod. This might buy some time until we get good env support.

from fly.

robmadole avatar robmadole commented on May 18, 2024

Oh interesting. Yeah that's a good guard 👍

from fly.

jeromegn avatar jeromegn commented on May 18, 2024

@robmadole btw I prereleased 0.33.3-1 with the fix for putting -e or --env anywhere in the sub commands chain.

from fly.

robmadole avatar robmadole commented on May 18, 2024

@jeromegn I'll upgrade our Pro CDN edge app. Thank you, sir.

from fly.

mrkurt avatar mrkurt commented on May 18, 2024

This is out as of 0.34.x.

from fly.

Related Issues (20)

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.