We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 dont know if , this is the right place to post this issue,
But before i was trying to use envify,
i added a run command of flutter pub run build_runner build
flutter pub run build_runner build
i know it wont work since i dont have .env file on the repo.
so i try the method used in github workflow to declare the env
but also it didnt work, i believe the env github workflow is using is the ENV
on linux instance or whatever it may be on windows , but linux and mac is the same
if we created a ENV VAR,
so basically the issue is asking for a .env file that doesnt exists.
i have 2 ways to go about it, one is running a shell script and use the ENV var declared with github.
and pipe it to .env and .env.dev ...
2nd one is to simply remove from .gitignore env.g.dart
I hope you guys have more better solution in my mind
please if you have please share thanks
The text was updated successfully, but these errors were encountered:
Yea, you can encode your .env file as base64 and before build process pipe it in decoded using echo "$ENV_FILE" | base64 --decode > .env
.env
base64
echo "$ENV_FILE" | base64 --decode > .env
ENV_FILE is the secret/env variable define by your CI
ENV_FILE
Sorry, something went wrong.
No branches or pull requests
I dont know if , this is the right place to post this issue,
But before i was trying to use envify,
i added a run command of
flutter pub run build_runner build
i know it wont work since i dont have .env file on the repo.
so i try the method used in github workflow to declare the env
but also it didnt work, i believe the env github workflow is using is the ENV
on linux instance or whatever it may be on windows , but linux and mac is the same
if we created a ENV VAR,
so basically the issue is asking for a .env file that doesnt exists.
i have 2 ways to go about it, one is running a shell script and use the ENV var declared with github.
and pipe it to .env and .env.dev ...
2nd one is to simply remove from .gitignore env.g.dart
I hope you guys have more better solution in my mind
please if you have please share thanks
The text was updated successfully, but these errors were encountered: