Branches and prebuild for edge functions deploy
Hey,
I'm configuring Branches environment for the project and faced an issue with functions deploy.
Project is configured with GitHub integration, when PR is created branch environment is spinned up.
My codebase has custom logic with templates, built templates are imported in edge functions. Current process of functions deploy
- build templates
- import them in function
Branches Envirnment does just "supabase deploy functions" which cases deploy error because some files (tempaltes) can't be resolved because they are missing.
Is there a way to hook up my build command before Branch Environment will spin up deploy?
0 Replies