"If your .env file is in .gitignore and you're using GitHub Actions, add your environment variables as Secrets in your repository settings on GitHub. Then, reference these secrets in your workflow file to use them securely during the build process."
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What should I do if I put the .env file to .gitignore and build my app using Github Actions?
"If your .env file is in .gitignore and you're using GitHub Actions, add your environment variables as Secrets in your repository settings on GitHub. Then, reference these secrets in your workflow file to use them securely during the build process."