Giter VIP home page Giter VIP logo

Comments (5)

leerob avatar leerob commented on May 22, 2024 1

👋 I would suggest running Cypress again the preview deployment URL. That's what we do at Vercel 😄

from brios.

brianlovin avatar brianlovin commented on May 22, 2024

I just have to go through and manually add all of these to my Vercel dashboard though, yeah? Or does having the secrets set already make this work out of the box? Right now I see this in the dashboard:

Screen Shot 2021-03-08 at 10 09 07@2x

But of course I've already done vercel secrets add ... for each of the variables listed in the now.json file.

from brios.

leerob avatar leerob commented on May 22, 2024

Convert - it's converting them from just secrets to env variables. When you select "secret", you'll be able to find all the existing secrets in the dropdown.

The biggest benefit is being able to run vercel env pull .env.local or a new machine and automatically set up your env, plus aligns with the best practices for env variables for those forking the repo 😄

If you hit any issues, please let me know!

from brios.

brianlovin avatar brianlovin commented on May 22, 2024

@leerob I just closed this after making the changes, but now I'm wondering: is there a best practice for using GitHub actions to run CI with whatever the vercel dev equivalent would be? I need Cypress to run with access to my environment variables, in a secure way of course.

from brios.

brianlovin avatar brianlovin commented on May 22, 2024

Oh wow, that's quite smart actually – any chance you are able to share or publish some of those action workflow files? Otherwise I can probably figure out how to string that together so things run in the correct order.

from brios.

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.