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

I tried using export $(cat .env) && astro build and it doesn't work #8557

Closed
tsanyqudsi opened this issue Jun 17, 2024 · 1 comment
Closed
Labels
improve documentation Enhance existing documentation (e.g. add an example, improve description)

Comments

@tsanyqudsi
Copy link

tsanyqudsi commented Jun 17, 2024

📚 Subject area/topic

environment variables

📋 Page(s) affected (or suggested, for new content)

https://docs.astro.build/en/guides/integrations-guide/node/

📋 Description of content that is out-of-date or incorrect

instead of using export $(cat .env.runtime) && astro build // Doesn't work

I use set -o allexport; source .env; set +o allexport; astro build// Work

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

@tsanyqudsi tsanyqudsi added the improve documentation Enhance existing documentation (e.g. add an example, improve description) label Jun 17, 2024
@tsanyqudsi
Copy link
Author

tsanyqudsi commented Jun 17, 2024

nvm.. both doesn't work most of the time. most probably because of the experimental getSecret()

@tsanyqudsi tsanyqudsi closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improve documentation Enhance existing documentation (e.g. add an example, improve description)
Projects
None yet
Development

No branches or pull requests

1 participant