Deploying Page Functions with Wrangler
When deploying using wrangler, instead of the Git integration, my Page Functions do not get detected
I am using the following Github Action
The site deploys fine, but the functions are MIA. When using the Github integration, it works fine.
5 Replies
I have since updated to use the offical and it does the same
functions needs to be in the root of the command not the output dir
Root of where I am executing wrangler from?
functions folder is inside wwwroot
I believe I understand what you mean now.
As in
functions
folder must exist WHERE I execute wrangler
from.
Regardless of what build directory I pass it.
This indeed worked! Thank you very much!