Hi @Ari Gabay ,
We apologize for the inconvenience this issue may have caused. It looks like this is a known issue. The Static Web Apps task runs in a container. Variables are not passed into it by default. The engineering team is working on a fix for this. in the meantime, please take look at this workaround provide in this Github thread
Hope that helps. Please let us know if you have further questions.
Thanks,
Grace
------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--