React app build/deploy using github actions with secrets

I am trying to accomplish build/deploy my react app that uses Firebase(for now only auth module) using github actions with secrets.
For local development I use .env file with webpack and dotenv-webpack library. On local machine all works fine. Dev server get environment varialbles from .env file and inject it. But after build in github actions and deploying package on firebase hosting page return me an error: