Skip to content

fail to load env to deployed flask app #11614

Answered by anhtuan284
randyMrk54 asked this question in Help
Discussion options

You must be logged in to vote

You may get it wrong, Github actions only use the machine you specify in *.yaml with build and deploy testing, what you actually embedded into a Docker image specify in your Dockerfile. So those secrets pass into the Github Action's machine not on Render.

If you hide your key in .env, just go to your instance on Render, go to Environment Tab > Import From .env.

Read this: Deploy Flask app on Render

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by randyMrk54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants