DEV Community

Discussion on: 3 ways to use environment Variables in Rust

Collapse
 
francescoxx profile image
Francesco Ciulla

"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."