Skip to content

Environment variables not working with JS project #25930

Answered by breadadams
breadadams asked this question in Actions
Discussion options

You must be logged in to vote

The issue was with our configuration for the dotenv-webpack plugin, given that the environment variables aren’t coming from a real .env file we needed to enable the systemvars setting, as seen here: breadadams/gh-action-env-trial@5d673f3

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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